Skip to content

Instantly share code, notes, and snippets.

@alexsoyes
Created September 19, 2022 02:28
Show Gist options
  • Save alexsoyes/fd978512e225baeb977dddc39dbfa609 to your computer and use it in GitHub Desktop.
Save alexsoyes/fd978512e225baeb977dddc39dbfa609 to your computer and use it in GitHub Desktop.
An example of Behave feature file for functionnal testing.
Feature: Skills matching
In order to have some matching pourcentage on the platform.
As a manager, I am able to look for some skills among others skills.
Scenario: A manager is looking for some skilled people.
Given The manager asks for the "non-mandatory" skill Java with the id "6774ab13-9c9c-4db5-a897-d69ac1676411" and the level "5"
And The manager asks for the "non-mandatory" skill Project Management with the id "4d734d03-a46c-4608-a6de-bc65ea48427a" and the level "3"
And The manager asks for the language French with the id "1b52d40d-f437-4c15-848e-ad17a67d3a4b" of level "5"
And The manager asks for the language English with the id "802f5ca1-311e-4806-b1a6-c5b368ea3b9c" of level "5"
When The skill Java Enterprise with id "5a8d863c-fd51-4835-a093-4127faa73628" of level "5" is provided
And The language French with the id "1b52d40d-f437-4c15-848e-ad17a67d3a4b" of level "3" is provided
And The language English with the id "802f5ca1-311e-4806-b1a6-c5b368ea3b9c" of level "3" is provided
Then The matching must equal "65"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment