Question 7 of 10Pro Only
What are the best practices for writing maintainable tests?
Sample answer preview
Writing maintainable tests is as important as writing maintainable production code. Here are the key best practices. Follow the AAA pattern. Arrange sets up the test data and conditions. Act executes the code under test. Assert verifies the results.
AAAarrangeactassertfixturesindependence