Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What does independent testing mean in unit tests?
Think about how you would run tests one after another.
Why is it important to test negative scenarios?
Consider edge cases.
Why should unit tests be independent?
Consider what happens when tests influence each other.
True or False: It is okay to test private methods directly.
Think about what the class exposes versus what it keeps internal.
Write a unit test for a function that sorts an array. Include both positive and negative scenarios in your test cases.
Think about edge cases that may confuse your sort function.
Discuss the implications of neglecting automation in testing during rapid development cycles.
Reflect on how valuable quick feedback loops can be.
6 more questions in this section. Enroll free to practise them all.
Enroll free