fjborquez / aang

0 stars 0 forks source link

Register a new user account #28

Open Norbbs opened 6 months ago

Norbbs commented 6 months ago

As a User I want to register for an account on the system So that I can access the features and services offered.

Definition Of Ready (DoR)

Definition Observations
  • - [ ]
The story meet the INVEST and SMART criteria
  • - [ ]
Dependencies identified and resolved
  • - [ ]
Written acceptance criteria with test scenarios, understood by the team and agreed upon
  • - [ ]
The user story was understood and agreed upon in a refinement session with the dev team
  • - [ ]
The team has an idea of how to make the demonstration of the finished story

Scope

  1. Work with the following entities: User
    • Id
    • email
    • password
    • isActive
    • person

Person

  • Id
  • name
  • lastName
  • dateOfBirth
  • nutritionalProfile

NutritionalProfile

  • person
  • nutritionalRestriction

NutritionalRestriction

  • Id
  • description
  1. All the properties are mandatory except to NutritionalProfile.

Out of scope

  1. Any other entity beyond User and Person.
  2. Implementations such as Login or sessions management are out of scope.

Wireframes

Image

This card scope is about the RED RECTANGLE

Image

Acceptance Criteria

AC GIVEN WHEN THEN
  • - [ ]
1 Register an user account successfully an person entity with all its fields correct the person registration process is triggered a new person will be created and return the ID generated
  • - [ ]
2 Register an user account successfully an user entity with all its fields correct included an Person as a part of the user entity the user account registration process is triggered a new user will be created with isActive property value is false and return the ID generated
  • - [ ]
3 DON'T register an user account because of name is missing an person entity without name property (empty or null) the person registration process is triggered the person won't be created and return an error message like "name is missing"
  • - [ ]
4 DON'T register an user account because of lastname is missing an person entity without lastname property (empty or null) the person registration process is triggered the person won't be created and return an error message like "lastname is missing"
  • - [ ]
5 DON'T register an user account because of date of birth is missing an person entity without date of birth property (empty or null) the person registration process is triggered the person won't be created and return an error message like "date of birth is missing"
  • - [ ]
6 DON'T register an user account because of name incorrect dimension an person entity which name characters are greater than 30 the person registration process is triggered the person won't be created and return an error message like "name exceeds maximum of 30 characters"
  • - [ ]
7 DON'T register an user account because of lastname incorrect dimension an person entity which lastname characters are greater than 30 the person registration process is triggered the person won't be created and return an error message like "Lastname exceeds maximum of 30 characters"
  • - [ ]
8 DON'T register an user account because of name incorrect format an person entity with incorrect name property the person registration process is triggered the person won't be created and return an error message like "name has an incorrect format"
  • - [ ]
9 DON'T register an user account because of lastname incorrect format an person entity with incorrect lastname property the person registration process is triggered the person won't be created and return an error message like "lastname has an incorrect format"
  • - [ ]
10 DON'T register an user account because of date of birth incorrect format an person entity with incorrect date of birth property the person registration process is triggered the person won't be created and return an error message like "date of birth has an incorrect format"
  • - [ ]
11 DON'T register an user account because of future date of birth an person entity with a future date of birth property the person registration process is triggered the person won't be created and return an error message like "Future date of birth are not allowed"
  • - [ ]
12 DON'T register an user account because of email is missing an user entity without email property (empty or null) the user registration process is triggered the user won't be created and return an error message like "email is missing"
  • - [ ]
13 DON'T register an user account because of email incorrect format an user entity with an email that's not following the standart for email structure the user registration process is triggered the user won't be created and return an error message like "email incorrect structure"
  • - [ ]
14 DON'T register an user account because of password is missing an user entity without password property (empty or null) the user registration process is triggered the user won't be created and return an error message like "password is missing"
  • - [ ]
15 DON'T register an user account because of password length an user entity with password property is shorter than 8 the user registration process is triggered the user won't be created and return an error message like "password incorrect longer"
  • - [ ]
16 DON'T register an user account because of a password is not including a number and a symbol at least an user entity with password property is not including numbers neither symbols the user registration process is triggered the user won't be created and return an error message like "password must include numbers and symbols at least one"

Definition of Done (DoD)

Definition Result
  • - [ ]
All acceptance criteria have been met
  • - [ ]
No significant or critical defects
  • - [ ]
Deskcheck ceremony has been made
  • - [ ]
Keep minimum test coverage of 80% over the necessary code and components
  • - [ ]
Technical documentation published
  • - [ ]
Spike, PoC or benchmarks findings documented