Java
Unit Testing Fundamentals in Java
A unit test runs a small piece of code with known input and asserts the result, automatically and repeatedly.
Unit testing fundamentals, assertions, test structure and mocking concepts.
2 notes
A unit test runs a small piece of code with known input and asserts the result, automatically and repeatedly.
A test double stands in for a real dependency so a unit can be tested in isolation, quickly and predictably.