4 ms·
This has a couple advantages: 1. A test that reads as natural language is easy to understand. Straightforward, declarative tests are a big win IMO. 2. This al
by SirensOfTitan 10y ago
This has a couple advantages:
1. A test that reads as natural language is easy to understand. Straightforward, declarative tests are a big win IMO.
2. This allows for better test result reporting: instead of assertion failed, the utility can tell you more (expected 4 but got 3).