February 2015
Intermediate to advanced
338 pages
8h 16m
English
When we run our List fruit feature with mvn clean test, we’ll see the usual snippets:
| | @Given("^the system knows about the following fruit:$") |
| | public void theSystemKnowsAboutTheFollowingFruit(DataTable arg1) throws Throwable { |
| | // Write code here that turns the phrase above into concrete actions |
| | // For automatic transformation, change DataTable to one of |
| | // List<YourType>, List<List<E>>, List<Map<K,V>> or Map<K,V>. |
| | // E,K,V must be a scalar (String, Integer, Date, enum etc) |
| | throw new PendingException(); |
| | } |
| | |
| | @When("^the client requests GET /fruits$") |
| | public void theClientRequestsGETFruits() throws Throwable { |
| | // Write code here that turns the phrase above into concrete ... |
Read now
Unlock full access