- Pierre's Bakery is a basic console app that prompts a user with a friendly greeting and a menu to order bread and pastries from. After accepting the user's order and crunching the numbers for all of Pierre's sweet deals, the app returns the a transaction message that displays the total cost.
- This project was prompted by the wonderful people at Epicodus as a simple exercise in building an interactive console application--with an added development emphasis in using TTD. Utilizing MSTests for unit testing, this app currently runs eight successful tests to ensure proper functionality and maintain spiffiness of three custom classes that do all the under-the-hood heavy lifting for Pierre's Bakery (note: an establishment renowned for its fictionality).
Note: .NET Core must be installed for the following instructions (v 2.2 for current source code, later versions may be used by editing the <TargetFramework>
element in Bakery.csproj to reflect the correct version).
- To run program:
- Clone this repository:
git clone https://github.com/cordenbrock/bakery.git
- Navigate to this specific directory from project folder root:
cd bakery/Bakery
- Run the program in in your terminal with a
dotnet run
command (this will install the necessary dependencies and build the app). - To exit,
ctrl + C
on Windows orcmd + C
on Mac.
- To run program tests:
- Navigate to this specific directory from project folder root:
cd bakery/Bakery.Tests
. If navigating from the aforementioned directory, be sure to first navigate "up" a folder, i.e. prepend a../
to the path. - Run the tests with a
dotnet test
command.
- C# v 7.3
- .NET Core v 2.2
- dotnet script, REPL
- MSTests
- Exception handling should be added
MIT License, (c) 2020 Cory Nordenbrock