develop functional tests for test interaction user with api
KonstantinKlepikov opened this issue · comments
-
Learn
gherkin
specificationwe would be use domain-specific language
gherkin
to describe functional tests. Research articles about this methodology on examples: -
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