Yadda поддерживает синтаксис стиля Given / When / Then.Он подключается к другим средам тестирования, таким как qunit, mocha или casperjs, и позволяет писать тесты следующим образом ...
Scenario: A bottle falls from the wall
Given 100 green bottles are standing on the wall
when 1 green bottle accidentally falls
then there are 99 green bottles standing on the wall
Scenario: No bottles are left
Given 1 green bottles are standing on the wall
when 1 green bottle accidentally falls
then there are 0 green bottles standing on the wall