Skip to content

User Acceptance Tests

These are tests in the format of acceptance criteria:

Local game

  • GIVEN Join and host buttons
  • WHEN Player tries to join one lobby using host and join buttons
  • THEN They come to one game-room

Moving cards

  • GIVEN Cards in hand
  • WHEN Player chooses a card and a position for it in the spell-preparing area
  • THEN Card moves to the spell-preparing area

Demo version of casting spells

  • GIVEN Cards on the table and cast button
  • WHEN Player places 2 or 3 cards and presses the cast button
  • THEN Effect is performed and cards are removed from the table