Arrange-Act-Assert (AAA) हा चाचण्या (tests) स्पष्टपणे तीन टप्प्यांमध्ये संरचित करण्यासाठी एक पॅटर्न आहे: Arrange (सेटअप करा), Act (क्रिया करा), Assert (परिणाम तपासा). हे चाचण्या वाचनीय, संघटित आणि समजणे सोपे करते.
तीन टप्पे
ARRANGE → set up the test: create objects, prepare inputs, configure mocks, set state
ACT → perform the ACTION being tested (call the function/method under test)
ASSERT → verify the OUTCOME: check the result/behavior matches what's expected
→ A clear three-part structure for every test.
