Last active
September 28, 2016 01:17
-
-
Save diegocasmo/18ca3ed649fb3bccdda697652c1c674b to your computer and use it in GitHub Desktop.
An example scenario written in Gherkin.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Create an Order | |
Ubiqua allows salesmen to order products for their clients. | |
Scenario: Order Some Products | |
Given I am logged in as a salesman assigned to "Farmacia Moreno", with the following products: | |
| product_name | price | | |
| Caja Gatorade | 1.00 | | |
| Botella Agua | 2.00 | | |
When I send an order for client "Farmacia Moreno" with the following products: | |
| product_name | quantity | | |
| Caja Gatorade | 2 | | |
| Botella Agua | 4 | | |
Then the order should have total price $10.00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment