- Click to view Github repository Or simply paste the following url into your prefered browser https://github.com/ebezjian/Bakery.Solution.git
- To Clone repository simply click the green Code button and copy the url
- Using a prefered terminal type command 'git clone paste-url-here
- Alternetivly click the Set up in Desktop button
- Click to open active site in Github Or simply paste the following url into your prefered browser https://ebezjian.github.io/Bakery.Solution/
- Once cloned, use the "$ cd " command to navigate to the directory created in the previous step.
- You must have .NET Core V2.2 installed in order to run the console app successfully. If you do not have .NET Core V2.2 installed, find more information and download it here
- Once in the newly cloned directory, go to your terminal while in Bakery file and type in dotnet build.
- Enable the project to test successfully by running "dotnet restore" within Bakery and Bakery.Tests, both directories found at the root level of the project directory.
- To test specs outlined in the project's testing suite, navigate to the Bakery.Tests directory in your command line and run "dotnet test"
- To run the console application, enter "dotnet run" in your command line while in the Bakery directory.
Behavior | Input | Output |
---|---|---|
Should take users input of how much of an item | user inputs: 2 | 2 breads |
Should store that information if more than one order | user inputs: 2 loaves 3 pastries | 5 items displayed |
Should have price of item on application | user picks 2 loaves | 2 breads = Buy 2, get 1 free. A single loaf costs $5 or Pastry Buy 1 for $2 or 3 for $5. |
Should return total cost of order | user inputs: 2 loaves 3 pastries | $15 total |
- C# v 7.3
- .NET Core v 2.2
- dotnet script, REPL
- Visual Studio Code
- GitHub
- Github Pages
- MSTest
- google translate because I never paid attention in french class.
[MIT] Copyright (c) 2020 --Ellie Lambert--