Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is unit testing?
Think about how you test your code while writing it.
Name one key characteristic of unit testing.
In programming, what does 'unit' refer to?
What does unit testing primarily focus on?
Think about the smallest parts of a program.
Unit testing is performed by:
Who is writing the code usually?
Create a sample unit test for a method 'multiply(int a, int b)' that returns the product of two numbers.
What does your assertion look like in code?
Explain how refactoring code might be impacted by the presence of unit tests.
Think about how tests provide feedback during development.
5 more questions in this section. Enroll free to practise them all.
Enroll free