Skip to content

Instantly share code, notes, and snippets.

@alexsoyes
Created September 19, 2022 02:27
Show Gist options
  • Save alexsoyes/cade9ab339fc1212e5fa82a32ff63cdf to your computer and use it in GitHub Desktop.
Save alexsoyes/cade9ab339fc1212e5fa82a32ff63cdf to your computer and use it in GitHub Desktop.
A story with a scenario of a functionnal test of an API.
Feature: Skills exposure
In order to get all the skills of the platform
As the API client
I want to get all the skills
Scenario: All skills
Given the client API is asking for all the skills
Then the response should be on object with the skills using their key as uuid
And the status code must be 200
And the content type must be application/json
And the response body must be a list of objects with the following properties:
| property | type |
| id | string |
| text | string |
| languages | array |
| type | string |
| centroid | string |
| clusters | array |
| segments | array |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment