-
Notifications
You must be signed in to change notification settings - Fork 23
Feat: Adds Unit Testing for the Employee classes #470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Adds Unit Testing for the Employee classes #470
Conversation
…etter for details
…o the code for easier reading
lesson_15/tdd/tdd_app/src/main/java/com/codedifferently/lesson15/Employee.java
Show resolved
Hide resolved
// ------------ | ||
// Tests for Employee class | ||
@Test | ||
public void testGetDetails() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests for Employee
go in their own file. Same for EmployeeManager
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood they are now in their separate classes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to remove these functions from this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not resolved.
// ------------ | ||
// Tests for Employee class | ||
@Test | ||
public void testGetDetails() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to remove these functions from this file.
// ------------ | ||
// Tests for Employee class | ||
@Test | ||
public void testGetDetails() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not resolved.
Hello I have created 12 tests for the Employee Manager and Employee class.