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.
What is unit testing?
Think about testing a small piece of code.
What does JUnit help with?
It's a testing framework.
What does JUnit facilitate?
Think about its main purpose.
True or False: Unit testing is performed by testers in the quality assurance team.
Consider who writes and runs the unit tests.
Create a unit test using JUnit for a simple function that adds two numbers and returns the result. Ensure to handle edge cases.
Start by creating a function that performs the addition.
You have an application that throws an unexpected error. Describe how you would approach debugging the error systematically.
Think of the steps you would take in a detective investigation.
5 more questions in this section. Enroll free to practise them all.
Enroll free