Try to think of them as examples, not tests.
For the entire application, we give an example of how the user can use this application. An example is a concrete example of behavior that illustrates this behavior. So, for example, we can say that the “do” application allows for refunds. The do statement that uses this do will be familiar with the scenario in which Fred returns the microwave to return:
Given that Fred bought the microwave for $ 100.
When he returns the microwave back for a refund, then he must return $ 100 to his credit card.
; , , 90 , , , ..
, ; , , .. . , , , . . RefundCalculator unit test shouldTakeDiscountsIntoAccount.
, :
...
...
...
, unit test, , .
"BDD" , , , . , , , - ( , ). , BDD ATDD (Accept-Test-Driven Development), BDD TDD. , , .
, "", , , , , .
" " ( ) " " .