Skip to content

Instantly share code, notes, and snippets.

@FinalFive
Created February 21, 2012 20:27
Show Gist options
  • Save FinalFive/1878692 to your computer and use it in GitHub Desktop.
Save FinalFive/1878692 to your computer and use it in GitHub Desktop.
rakesh@ubuntu:~/projects/cucumber-jvm-groovy-example$ ~/apps/gradle-1.0-milestone-8a/bin/gradle cucumber
:compileJava UP-TO-DATE
:compileGroovy UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:cucumber
# language: en
Feature: Division
In order to avoid silly mistakes
Cashiers must be able to calculate a fraction
@important
Scenario: Regular numbers # calc/division.feature:7
Given I haI have entered 3 3 int into the the cal calculator # C # CalculatorSteps.groovy:31
And I haI have entered 2 2 into the calculator # CalculatorSteps.groovy:31r # CalculatorSteps.groovy:31
When ess dividI press divide # Calculato # CalculatorSteps.groovy:39
Then the the stored result should be 1.5 1.5 # CalculatorSteps.groovy:43
Scenario: More numbers # calc/division.feature:13
Given I haI have entered 6 into the calculator # CalculatorSteps.groovy:31 calculator # CalculatorSteps.groovy:31
And I have entered 3 into the calculator # CalculatorSteps.groovy:31
When I press divide # CalculatorSteps.groovy:39
Then the stored result should be 2.0 # CalculatorSteps.groovy:43
BUILD SUCCESSFUL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment