-
Notifications
You must be signed in to change notification settings - Fork 0
Testcases and Outcomes
Jay edited this page Apr 17, 2023
·
7 revisions
- Give test login to client as buyer
- Assert a true response PASS
- Give test login to client as seller
- Assert a true response PASS
- Give test login to client as admin
- Assert a true response PASS
- Give test login to client as invalid username
- Assert a false response PASS
- Give test login to client as any user
- Log out of client as said user
- Assert no response PASS
- Create test product and fill attributes
- Assert equal to ensure proper storage PASS
- Create test product and fill attributes
- Delete product from database PASS
- Create test product and fill attributes
- Change attribute
- Save model
- Assert equal to ensure proper change PASS
- Create test product and fill attributes
- Assert equal to check quantity
- Decrement quantity corresponding with order quantity
- Save model
- Assert equal to ensure change of quantity
- Create test customer account
- Fill user model with attributes
- Fill Customer model with user model attributes
- Create test order model with customer's attributes
- Create example Product model
- Fill Order Item model with product's attributes
- Assert equal to ensure correct order total
- Create shopping cart model
- Create cart item model, fill with shopping cart's attributes
- Assert equal to ensure correct cart price
- Finish order
- Create customer model
- Assert instance of customer model
- Create customer model
- Assert equal to ensure instance is string
- Create customer model
- Assert equal to ensure customer is UserModel
- Create customer model
- Delete UserModel instance
- Raise Customer DNE and ensure customer is deleted
- Create test user account
- Create UserModel instance
- Create test user account
- Create UserModel instance
- Create customer 1 of UserModel instance
- Create customer 2 of UserModel instance
- Get all customer objects from database
- Assert equal to ensure customers 1 and 2 are correctly queried