12/06/23 Given-When-Then
Given-When-Then is a style of representing tests. The essential idea is to break down writing a scenario (or test) into three sections: The given part describes the state of the world before you begin the behavior you're specifying in this scenario. You can think of it as the pre-conditions to the test. The when section is that behavior that you're specifying. Finally the then section describes ..
2023.06.12