KonstantinKlepikov / cold-war-boardgame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

develop functional tests for test interaction user with api

KonstantinKlepikov opened this issue · comments

  1. Learn gherkin specification

    we would be use domain-specific language gherkin to describe functional tests. Research articles about this methodology on examples:

  2. Build functional test scenarios

    In this modeling we need represent behave of user, that use cold-war api and make some right or/and wrong steps. This user send some requests and await some responses - test mus assert right and wrong requests and predictable behave of api on response

    We need tests those scenarios:

    • authentication
    • create new game
    • ask for data
    • prepare for game (like choosing of priority)
    • switching of phases and provoked by this data changes

    include to test two phases:

    • briefing
    • planing

Updated file:
GherkinAPIAuthTest

need to discuss
NewGameAPITest