Skip to content

Unit_Tests_Homework#3

Open
adi9812 wants to merge 28 commits intobalcanusebi:masterfrom
adi9812:master
Open

Unit_Tests_Homework#3
adi9812 wants to merge 28 commits intobalcanusebi:masterfrom
adi9812:master

Conversation

@adi9812
Copy link

@adi9812 adi9812 commented Jul 20, 2020

No description provided.

public void AddCoffeWithoutPrice_WillNotAddCoffe()
{
var initial_Length_List = coffeeService.GetCoffees().Count;
var AddDetailsCoffe = new CoffeeModel();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use camelCase instead of PascalCase. In c# this is a naming convention for creating new variables (not applicable for constants) : https://www.mooclab.club/threads/what-is-the-difference-between-pascal-case-and-camel-case.5636/

Copy link
Owner

@balcanusebi balcanusebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do the required changes and push the files again

{
var initial_Length_List = coffeeService.GetCoffees().Count;
var initialCoffeeLength = coffeeService.GetCoffees().Count;
var AddDetailsCoffe = new CoffeeModel();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming of this variable does not use camelCase, still PascalCase

Copy link
Owner

@balcanusebi balcanusebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix the comments and push again

balcanusebi and others added 7 commits July 20, 2020 18:03
…Class

# Conflicts:
#	CoffeeMachineSimulator/CoffeeMachineSimulator.Services/Services/CoffeeService.cs
#	CoffeeMachineSimulator/CoffeeMachineSimulator.Tests/CoffeeMachineSimulator.Tests.csproj
#	CoffeeMachineSimulator/CoffeeMachineSimulator.Tests/Services/CoffeeServiceTests.cs
# Conflicts:
#	CoffeeMachineSimulator/CoffeeMachineSimulator.Tests/Services/CoffeeServiceTests.cs
Copy link
Owner

@balcanusebi balcanusebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please first do a merge from master and push the changes again.

balcanusebi and others added 9 commits July 22, 2020 19:31
Added different unit tests
Added in memory database
# Conflicts:
#	CoffeeMachineSimulator/CoffeeMachineSimulator.Services/Interfaces/IEspressoMachineService.cs
#	CoffeeMachineSimulator/CoffeeMachineSimulator.Services/Services/EspressoMachineService.cs
#	CoffeeMachineSimulator/CoffeeMachineSimulator.Tests/Services/EspressoMachineServiceTests.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants