← Quiz: Unit Testing and TDD: all 10 questions
Quiz: Unit Testing and TDD · Question 1 of 10
What are the three parts of a well-structured unit test?
What are the three parts of a well-structured unit test?
- A.Analyse, Code, Deploy
- B.Arrange, Act, Assert
- C.Input, Process, Output
- D.Plan, Do, Check
Answer & explanation
Correct answer: Arrange, Act, Assert
Set up the inputs, call the code once, then check the result.
Can you get the rest right without peeking?
Take the timed Quiz: Unit Testing and TDD quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →