Testing · Junior · Question 9 of 78

What does the Arrange–Act–Assert (AAA) pattern describe?

Explanation

The same idea is called Given–When–Then in BDD. A clear structure makes tests easy to read and keeps each test focused on one behaviour.

Further reading

Problem with a question

Testing · Junior · question 9

Test yourself

Take the Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz