- Building Enterprise JavaScript Applications
- Daniel Li
- 57字
- 2025-04-04 16:09:32
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.