Skip to content

Instantly share code, notes, and snippets.

@prystupa
Last active December 10, 2015 01:38
Show Gist options
  • Save prystupa/4360818 to your computer and use it in GitHub Desktop.
Save prystupa/4360818 to your computer and use it in GitHub Desktop.
Test '.Scenario: Add a single limit order to the BUY order book .When the following orders are added to the "Buy" book: ' ignored
Test '.Scenario: Add a single limit order to the BUY order book .Then the "Buy" order book looks like: ' ignored
Test '.Feature: Core Functionality for Order Book .Scenario: Add a single limit order to the BUY order book ' ignored
Wrong test finished. Last started: [] stopped: Scenario: Add a single limit order to the BUY order book ; class org.junit.runner.Description
You can implement missing steps with the snippets below:
@When("^the following orders are added to the \"([^\"]*)\" book:$")
public void the_following_orders_are_added_to_the_book(String arg1, DataTable arg2) throws Throwable {
// Express the Regexp above with the code you wish you had
// For automatic conversion, change DataTable to List<YourType>
throw new PendingException();
}
@Then("^the \"([^\"]*)\" order book looks like:$")
public void the_order_book_looks_like(String arg1, DataTable arg2) throws Throwable {
// Express the Regexp above with the code you wish you had
// For automatic conversion, change DataTable to List<YourType>
throw new PendingException();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment