Testing bank Unit Testing Testing / 6 questions Your progress 0 / 6 done Saved in this browser. Reset All 6 Easy 1 Medium 4 Hard 1 Hide done No questions match those filters. 1 What are the parts of a good unit test (arrange–act–assert)? Easy 2 What's the difference between a mock, a stub, a spy, and a fake? Medium 3 How do you test asynchronous code and timers deterministically? Medium 4 How do you test a pure function vs one with side effects? Medium 5 When is mocking a smell that your code is too coupled? Hard 6 How do you test error paths and edge cases, not just the happy path? Medium ← Previous Testing Fundamentals Next → Component & UI Testing