Skip to content

Instantly share code, notes, and snippets.

@shankybnl
Created June 6, 2018 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shankybnl/616dfaec19777360ec1958ace1613c15 to your computer and use it in GitHub Desktop.
Save shankybnl/616dfaec19777360ec1958ace1613c15 to your computer and use it in GitHub Desktop.
Behavior-driven development (BDD) example
Scenario: Expected report time should be 15 mins before activity start time if vehicle is not placement dry run.
Vehicle HR55V1072 is going from DELP1 to JAIP1 and not placement dry run.
Given 120 minutes "added" to vehicle node tracking id 894440
And Pilot 1435 is on DUTY OUT
And Pilot 1448 is on DUTY OUT
And Pilot 1422 is on DUTY OUT
When AA scheduler executes
Then Pilot 1422 activity on vehicle number "HR55V1072" should "be active"
And Difference between expected report time of Pilot 1422 and activity start time of vehicle "HR55V1072" should be 15 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment