-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUS32.feature
More file actions
37 lines (24 loc) · 1.26 KB
/
US32.feature
File metadata and controls
37 lines (24 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Feature: CRUD for Primary Resources
As a developer
I want to implement CRUD endpoints
So that the primary resources of the application can be managed
Scenario: Resource Creation
Given the user wants to create a new resource in the application,
When the user sends a POST request to the corresponding endpoint with the new resource data,
Then the request is processed and the new resource is created in the database.
Examples:
Scenario: Error in Resource Creation
Given the user wants to create a new resource in the application,
When the user sends a POST request to the corresponding endpoint with the new resource data,
Then the resource is not created as requested.
Examples:
Scenario: Resource Deletion
Given the user wants to delete a resource in the application,
When the user sends a DELETE request to the corresponding endpoint with the resource data,
Then the request is processed and the resource is deleted from the database.
Examples:
Scenario: Error in Resource Deletion
Given the user wants to delete a resource in the application,
When the user sends a DELETE request to the corresponding endpoint with the resource data,
Then the resource is not deleted as requested.
Examples: