Pierre's Bakery

This is a C# console application for Pierre's Bakery.

By Theron Packus

Technologies Used

  • C#
  • .NET 5.0
  • Git
  • MSTest

Description

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.

Setup/Installation Requirements

  • 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!

Running Tests

  • 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!

Running The Console Application

  • 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

Known Bugs

  • No known bugs so please lets me know if you encounter any through the email I provided below.

License

MIT

Copyright © 2021 Theron Packus

All rights Reserved

Support and Contact Information

For contact support or any found bugs, please email me here Send Email