Logo: Relish

  1. Sign in

Project: Cucumber-salad

Restful Endpoints

As a Rest Api Developer
I want to easily write my cucumber.js tests
So that I will be faster to market

Scenarios
Found not found endpoints
Given
A running salad server
When
I request "/"
Then
I should get back a 200
When
I request "/404"
Then
I should get back a 404
Italian Salad
Given
A running salad server
When
I request "/salad/italian"
Then
I should get back a 200
And
An Italian Salad should have 4 tomatoes

Last published about 5 years ago by Antonio.