Arrange-Act-Assert (AAA) అనేది పరీక్షలను స్పష్టంగా మూడు దశలుగా నిర్మించే నమూనా: 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.
