Arrange-Act-Assert
← Back to Test Organization
A three-phase pattern for structuring tests. Arrange: set up the test data and preconditions. Act: execute the code under test. Assert: verify the expected outcome. Clear separation of these phases makes tests readable and maintainable.