Test Cases and Outcomes - coolcelary/Intro-to-SE-Group-5 GitHub Wiki
Feature 1
Test 1: Buyer Login
- Input: We pass required information into the login function
- Output: Information is then stored in the database
Test 2: Seller Login
- Input: We pass required information into the login function
- Output: Information is then stored in the database
Test 3: Buyer Browse Items
- Input: Buyer should click on products page
- Output: Buyer should then be able to see all items for sale
Test 4: Buyer Logout
- Input: Buyer should press the logout button
- Output: Buyer should then be kicked from the website
Test 5: Seller Logout
- Input: Seller should press the logout button
- Output: Seller should then be kicked from the website
Feature 2
Test 1: Buyer Register
- Input: Buyer should press register button and input user information
- Output: Information should then be inserted into the database and buyer should be logged in
Test 2: Buyer Search Items
- Input: Buyer should search for desired item
- Output: Buyer should then see the items searched for
Test 3: Buyer Add to Cart
- Input: Buyer should press the add to cart button on an item
- Output: Buyer should then navigate to the cart and see the item
Test 4: Buyer Remove From Cart
- Input: Buyer should press the remove from cart button
- Output: The item should then be removed from the buyers cart
Test 5: Buyer Checkout
- Input: Buyer should have items in their cart and press the checkout button
- Output: Buyer should then be redirected to an info page where they put in order information
Feature 3
Test 1: Seller Register
- Input: Seller should press register button and input user information
- Output: Information should then be inserted into the database and seller should be logged in
Test 2: Seller Login
- Input: We pass required information into the login function
- Output: Information is then stored in the database
Test 3: Seller Post Item
- Input: Seller should hit post item button and then enter information for the product
- Output: Seller should then see the item on the products page
Test 4: Seller View Items
- Input: Seller should select on view items button
- Output: Seller should then see all the items they currently have listed
Test 5: Seller Receive Payment
- Input: Seller should navigate to the account page
- Output: Seller should then be able to see the number of items sold and the total profit made