- C#
- .NET 5.0
- Git
- MSTest
This is a console application made to calculate the total cost of a bakery order. The fictional bakery has two deals going on. A buy two get one free on bread and buy three get a dollar off on pastries. The user should be able to enter in their order amounts and get the correct total displayed back in the console.
- Open the terminal command line on your local machine
- Navigate to the directory inside of which you wish to house this project
- Paste into the terminal "git clone https://github.com/tlpackus/PierresBakery.Solution.git"
- Next you will need to download and install .NET Core through this link if you don't already have it: https://dotnet.microsoft.com/download
- After downloading and installing .NET Core, return to your terminal and navigate to the project folder by entering "cd PierresBakery.Solution"
- You're now all set up for testing!
- Navigate from the projects root directory to Bakery.Tests by typing "cd Bakery.Tests ".
- Then type in "dotnet restore" to restore any dependencies and tools for the project.
- Next type in "dotnet test" to confirm all 10 tests are passing
- Now you're ready to Run the application in your terminal!
- Once you've completed Setup/Installation Requirements and confirmed tests are passing, enter "cd .." in the terminal to return to the projects root directory
- Enter "cd Bakery" to navigate to the Bakery directory
- Enter "dotnet run" to automatically build the project then launch the program in your console
- Use Ctrl + C to escape or quit the program if necessary
- No known bugs so please lets me know if you encounter any through the email I provided below.
Copyright © 2021 Theron Packus
All rights Reserved
For contact support or any found bugs, please email me here Send Email