I want a shops category to be saved to the database
As a business I want my category to be saved to the database so that people can easily find my business
Acceptance Criteria
-
Create a new table for categories -
Create One-Many link between Categories and Shops - One shop will have one category
- One category may be on many shops
-
Save business category on creation to database -
Create new Entity for the new table -
Update "Shops" entity and repo with a field for its Category -
Add search to "ShopsRepo" for searching by a specific category
Tests
-
Correct number of categories gathered from search -
Correct number of categories gathered from search after a new one is added -
Correct number of shops gathered when given specific category ids
Tracking Data
| Stage | Date |
|---|---|
| Entered Open at | 2021-11-23 11:30:00 |
| Entered Ready at | 2021-11-24 10:45:00 |
| Entered Dev at | 2021-11-24 13:53:00 |
| Entered Test at | 2021-11-25 12:50:00 |
| Entered Done at | 2021-11-25 14:20:00 |
| Entered Closed at | 0000-00-00 00:00:00 |
Definition of Ready
-
Issue is populated with relevant Acceptance Criteria -
Issue name meets the format “As a I want so that ” -
Issue is not dependant on any, non-closed, issue -
Issue appropriately weighted based on team opinions and planning poker session(s) -
If issue has a corresponding UI element, it has a “UI Plan” created before development begins -
If Issue has a corresponding DB element, it has an ER Diagram created with corresponding changes before development begins -
All above points verified by a member of the team external to the main developer(s) of the issue
Definition of Done
-
At least one automated test per major feature created during the process of the issue -
All acceptance criteria complete and met -
All relevant tests pass -
Appropriate Javadoc present throughout -
All above points verified by a member of the team external to the main developer(s) of the issue
Edited by Joshua Gill