
上QQ阅读APP看书,第一时间看更新
Specifying our feature
So, let's start defining our feature by adding a name and description to spec/cucumber/features/users/create/main.feature:
Feature: Create User
Clients should be able to send a request to our API in order to create a
user. Our API should also validate the structure of the payload and respond
with an error if it is invalid.