#unit tests
Posts tagged with “unit tests”.
3 posts
01
Integration vs Unit Tests: What Each One Catches
Unit tests isolate one piece; integration tests verify pieces work together. Learn the trade-offs and how to balance the two.
02
Mocking and Stubbing: Test Doubles Explained
Mocks, stubs, fakes and spies are different test doubles. Learn what each is for, when to use them, and why over-mocking makes tests brittle.
03
Unit Testing Basics: What to Test and How
Unit tests verify one piece of behaviour in isolation. Learn what makes a good test, the arrange-act-assert structure, and common mistakes.