Skip to content

Feat: Adds Shawn Dunsmore Jr Lesson 15 Implementing Tests. #505

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

Closed
wants to merge 2 commits into from

Conversation

Djtheman1
Copy link
Contributor

No description provided.

@Djtheman1 Djtheman1 changed the title Feat: Adds Shawn Dunsmore Jr Implementing Tests. Feat: Adds Shawn Dunsmore Jr Lesson 15 Implementing Tests. Oct 30, 2024
@@ -16,4 +17,74 @@ public void testGetGreeting() {
// Act
Lesson15.main(null);
}

@Test
public void testEmployeeId_Exists() {
Copy link
Contributor

Choose a reason for hiding this comment

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

The Employee related tests should be in a file named EmployeeTest.java to match the class they are testing. Similarly, EmployeeManager tests belong in an EmployeeManagerTest.java file.

@anthonydmays
Copy link
Contributor

If you want to fix it, feel free to reopen the pull request and submit a new revision.

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.

2 participants