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.
