All0ne13 / All0ne13/CrashCourse

Add to cart [ Boundary Value Technique]

Aperta
#26 0 commenti 0 reazioni 1 assegnatario Rivendicata da @All0ne13 Vedi su GitHub
testing techniques
Lingua principale
Nessun dato sulla lingua
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Test Scenario | Input Data | Expected Result
-- | -- | --
Maximum Boundary Value | Add 100 items to the cart | Successful addition of 100 items to the cart. Verify the correct handling of the maximum quantity.
Minimum Boundary Value | Add 1 item to the cart | Successful addition of 1 item to the cart. Verify the correct handling of the minimum quantity.
Boundary Value | Add 10 items to the cart | Successful addition of 10 items to the cart. Verify the correct handling of items at the boundary.
Variable Parameters | Add an item with different parameters (color, size, quantity) | Successful addition of the item with selected parameters. Verify the handling of different parameters.
Check Cart Information | Add an item to the cart and check cart info (item quantity and total cost) | Display correct information in the cart. Verify cost calculation.
Successful Addition Messages | Add an item to the cart and check for a successful addition message | Receive an appropriate message indicating a successful addition.
Adding Item Already in Cart | Add an item to the cart when it's already present | Verify how the system handles adding an item already in the cart.

Test Scenario | Input Data | Expected Result
-- | -- | --
Adding Zero Items | Attempt to add 0 items to the cart | The system should prevent adding zero items and display an error message. Verify the handling of zero quantity.
Adding Negative Quantity | Attempt to add -1 item to the cart | The system should prevent adding a negative quantity and display an error message. Verify the handling of negative quantities.
Exceeding Maximum Allowed Quantity | Attempt to add more than the maximum allowed quantity to the cart (e.g., 101 items) | The system should prevent adding beyond the maximum allowed quantity and display an error message.
Empty Cart | Attempt to add an item to an empty cart | The item should be added to the cart, and the cart should display one item. Verify that the cart handles an empty state correctly.
Adding to an Existing Cart | Add an item to a cart with existing items | The item should be added, and the cart should display the total quantity of items correctly. Verify the handling of existing items in the cart.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.