Group testing modules (#3014)
* move security content from spring-security-rest-full * swagger update * move query language to new module * rename spring-security-rest-full to spring-rest-full * group persistence modules * group testing modules * try fix conflict
This commit is contained in:
committed by
GitHub
parent
b383d83bf4
commit
776a01429e
@@ -0,0 +1,19 @@
|
||||
Meta:
|
||||
|
||||
Narrative:
|
||||
As a user
|
||||
I want to look up a non-existent user's profile on github
|
||||
So that I can be sure that the username can not be found on github
|
||||
|
||||
Scenario: when a user checks a non-existent user on github, github would respond 'not found'
|
||||
|
||||
Given github user profile api
|
||||
And a random non-existent username
|
||||
When I look for the random user via the api
|
||||
Then github respond: 404 not found
|
||||
|
||||
When I look for eugenp1 via the api
|
||||
Then github respond: 404 not found
|
||||
|
||||
When I look for eugenp2 via the api
|
||||
Then github respond: 404 not found
|
||||
@@ -0,0 +1,13 @@
|
||||
Meta:
|
||||
|
||||
Narrative:
|
||||
As a user
|
||||
I want to look up a valid user's profile on github
|
||||
So that I can know that github responds data of type json
|
||||
|
||||
Scenario: when a user checks a valid user's profile on github, github would respond json data
|
||||
|
||||
Given github user profile api
|
||||
And a valid username
|
||||
When I look for the user via the api
|
||||
Then github respond data of type json
|
||||
@@ -0,0 +1,12 @@
|
||||
Meta:
|
||||
|
||||
Narrative:
|
||||
As a user
|
||||
I want to look up a valid user's profile on github
|
||||
So that I can know the login payload should be the same as username
|
||||
|
||||
Scenario: when a user checks a valid user's profile on github, github's response json should include a login payload with the same username
|
||||
|
||||
Given github user profile api
|
||||
When I look for eugenp via the api
|
||||
Then github's response contains a 'login' payload same as eugenp
|
||||
@@ -0,0 +1,15 @@
|
||||
JBehave Story - An increase test
|
||||
|
||||
Meta:
|
||||
|
||||
Narrative:
|
||||
As a user
|
||||
I want to increase a counter
|
||||
So that I can have the counter's value increase by 1
|
||||
|
||||
Scenario: when a user increases a counter, its value is increased by 1
|
||||
|
||||
Given a counter
|
||||
And the counter has any integral value
|
||||
When the user increases the counter
|
||||
Then the value of the counter must be 1 greater than previous value
|
||||
Reference in New Issue
Block a user