Перейти к содержанию

shlyapa — Acceptance Tests

Feature: shlyapa guess
  Scenario: Explainer accepts correct guess
    Given a shlyapa game with 3 players
    And the secret word is "стол"
    And phase is Guessing
    When player 2 guesses "стол"
    And explainer judges guess 0 as correct
    Then player 2 score is 1

Feature: shlyapa win
  Scenario: Three points wins
    Given player 1 has 2 points
    When player 1 guess is judged correct
    Then game status is finished
    And winner is player 1