arrange_act_assert
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| arrange_act_assert [2025/09/04 12:25] – plida | arrange_act_assert [2025/09/09 16:24] (current) – plida | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Source: | + | Source: Software Testing |
| ====== Arrange Act Assert (AAA) ====== | ====== Arrange Act Assert (AAA) ====== | ||
| - | Time passes, and tests become unreadable. In just one test there can be way too much arrangement, | + | Time passes, and [[software_testing|tests]] become unreadable. In just one test there can be way too much arrangement, |
| Pattern AAA divides test into 3 logical blocks: | Pattern AAA divides test into 3 logical blocks: | ||
| - | | + | |
| - | | + | |
| - | | + | |
| ==== Arrange ==== | ==== Arrange ==== | ||
| Line 30: | Line 30: | ||
| ==== Comparing AAA and GWT ==== | ==== Comparing AAA and GWT ==== | ||
| - | AAA and GWT are very similar: | + | AAA and [[given_when_then|GWT]] are very similar: |
| * Arrange = Given. | * Arrange = Given. | ||
| * Act = When. | * Act = When. | ||
arrange_act_assert.1756988746.txt.gz · Last modified: by plida
