TheMisterPin/fashion-deck

T-01-Testing

Aperta

#26 aperta il 24 nov 2024

 (0 commenti) (0 reazioni) (0 assegnatari)TypeScript (0 fork)auto 404
Testinggood first issuehelp wanted

Metriche repository

Star
 (1 stella)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Testing

Branch

git fetch origin
git checkout 26-t-01-testing

Desired Outcome

To implement a comprensive and exaustive testing suite to the app, this will be the back bone to our CICD Pipeline further along the line.

Requirements

Unit Test

  • Test each endopoint to make sure that it's consistent for error codes, responses, messages and contents
  • Test cards to make sure every field is displayed
  • Test forms to make sure that the values are stored and handled correctly

End to end Testing

  • Test the full lifecycle of both new clothing and outfits, to make sure that the item creation form behaves as expected
    • Captures the values in the fields
    • Transforms the image by sending it out and recieving one with the removed background
    • Uploads the image correctly to the DB
    • Saves the object to the DB with all the relations

Guida contributor