Skip to content

Instantly share code, notes, and snippets.

View danieltalsky's full-sized avatar

Daniel Talsky danieltalsky

View GitHub Profile
Scenario: When a new package in thor is created, a related order will appear in the order management system.
Given a newly created package in thor
When no action is taken
Then a related order in the order-management service will be present
Scenario Outline: When a package in thor is adjudicated, it will appear accurately in the order management system
Given all package treatments associated with a package are transitioned to adjucation_complete
When the package is adjudicated
Then the status of the related order in the Ordermanagment service will appear will updated to <New Status>
Feature: The Order Management Service accurately captures and stores orders
# This scenario would be the first to implement
Scenario: When a new Package is created in Thor, a related order will accurately appear in the Order Management Service
Given a new Package has been created in Thor
When a Customer is created and associated with the Package
And a Billing Address is created and associated with the Package
And a Delivery Address is created and associated with the Package
And an Insurance Policy is created and associated with the Package
And a Dispensing Plan is created and associated with the Package
Scenario Outline: The maximum credit card limit depends on the customer's salary
A customer needs a salary of at least £10,000.
There are two types of card, one with a limit of £2500,
and another with a limit of £5000
Given an individual customer with an annual salary of <Salary>
When the customer applies for a credit card
Then the credit card application should be <Approved or Refused>
And if approved, the maximum credit limit should be <Max Limit>
@danieltalsky
danieltalsky / out.txt
Created February 24, 2017 19:08
Gulp Build Error Output (Windows)
This file has been truncated, but you can view the full file.
time="2017-02-24T11:09:16-05:00" level=error msg="Can't add file \\\\?\\C:\\xampp\\htdocs\\talentinc\\products\\vendor\\phpunit\\php-code-coverage\\LICENSE to tar: read \\\\?\\C:\\xampp\\htdocs\\talentinc\\products\\vendor\\phpunit\\php-code-coverage\\LICENSE: Data error (cyclic redundancy check)."
time="2017-02-24T11:09:16-05:00" level=error msg="Can't add file \\\\?\\C:\\xampp\\htdocs\\talentinc\\products\\vendor\\phpunit\\php-code-coverage\\README.md to tar: archive/tar: missed writing 1551 bytes"
time="2017-02-24T11:09:16-05:00" level=error msg="Can't add file \\\\?\\C:\\xampp\\htdocs\\talentinc\\products\\vendor\\phpunit\\php-code-coverage\\build.xml to tar: archive/tar: missed writing 1551 bytes"
time="2017-02-24T11:09:16-05:00" level=error msg="Can't add file \\\\?\\C:\\xampp\\htdocs\\talentinc\\products\\vendor\\phpunit\\php-code-coverage\\composer.json to tar: archive/tar: missed writing 1551 bytes"
time="2017-02-24T11:09:16-05:00" level=error msg="Can't add file \\\\?\\C:\\xampp\\htdocs\\talenti