TheMisterPin/fashion-deck

T-01-Testing

Open

#26 opened on Nov 24, 2024

 (0 comments) (0 reactions) (0 assignees)TypeScript (0 forks)auto 404
Testinggood first issuehelp wanted

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide