spooky-oysters / Bangazon-Command-Line-Application

0 stars 1 forks source link

Gl menu add product to order #27

Closed Chewieez closed 6 years ago

Chewieez commented 6 years ago

Link to Ticket

Closes #5 :: User should be able to add product to customer order

Description of Proposed Changes

Steps to Test

Outline the steps to test

git fetch --all
git checkout gl-MenuAddProductToOrder
cd bangazon-cli.Tests
dotnet restore
dotnet test

Then

cd ..
cd bangazon-cli
dotnet restore
dotnet run
  1. Add a customer if no customers are currently in your database via menu option 1
  2. Select a customer as the active customer via menu option 2
  3. Add two or more products via DB Browser SQL insert statements
  4. Add a product to shopping cart via menu option 6 and then press enter.
  5. Add another product to your shopping cart and then press enter
  6. Press the menu option to return to the main menu.

Open your database in DB Browser and confirm that you have added records to the OrderProduct Table.

Impacted Areas in Application

List general components of the application that this PR will affect:

Mentions @username

Tag users that need to review this code

Definition of Done

  1. The project must be fully documented. This includes the following:
    1. Complete README that documents the steps to install the code, how to install any dependencies, or system configuration needed.
    2. Every class must be documented with purpose, author, and methods.
    3. Every method must be documented with purpose and argument list - which itself must contain a short purpose for each argument.
  2. The project must be able to run fully, and without errors, on each teammate's system.
  3. Fulfills every requirement. Every line of code has been peer reviewed.
  4. For projects that require unit testing, core functionality must be identified and have at least one test for each.
krysmathis commented 6 years ago

Remove console output of customerId when adding a product to order

kimberly-bird commented 6 years ago

👍

kimberly-bird commented 6 years ago

👍 x 2 :)

krysmathis commented 6 years ago

👍