Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
Define unit testing in your own words.
Think about what happens when you test small parts of an application.
What is the purpose of using a testing framework?
Consider the advantages of not having to set everything up manually.
What is the main purpose of unit testing?
Remember the foundational idea of testing.
Is Jest a testing framework suitable for JavaScript applications?
Consider the frameworks you might have learned about.
Create a set of unit tests for a login function that checks username and password combinations for validity.
Consider edge cases, such as empty fields or incorrect formats.
Discuss the implications of not writing unit tests for a critical piece of code in a deployed application. What could potentially go wrong?
Think about the cascading effects of bugs in an application.
5 more questions in this section. Enroll free to practise them all.
Enroll free