The 3 A's of testing
As I continue to explore testing strategies, one especially effective approach I have discovered is the 3 A's: Arrange, Act, and Assert.
This simple and effective approach is a popular structure for developers to craft meaningful and logical code in ...
blog.kerryowston.co.uk3 min read
David Carr
Web developer
I like to think about tests in the given, when then.
So
Given I have a user with the correct permissions,
When I click send report
Then a record will be created and a PDF will be generated.