Arrange-Act-Assert (AAA) என்பது tests-ஐ தெளிவாக மூன்று phases-ஆக structured செய்யும் ஒரு pattern: Arrange (set up), Act (action-ஐ perform செய்ய), Assert (result-ஐ verify செய்ய). இது tests-ஐ readable, organized, மற்றும் புரிந்துகொள்ள எளிதாக்குகிறது.
மூன்று phases
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.
