Created
November 18, 2015 14:14
-
-
Save jonmcewen/2dccf5c8f266a3a95f0b to your computer and use it in GitHub Desktop.
Example of a CucumberJVM step pattern for capturing a positive or negative number
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
@When("^an Adjustment of \\+?(-?\\d+) is received$") | |
public void an_Adjustment_of_x_is_received(int qty) throws Throwable { | |
//send "qty" as input | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment