Skip to content
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

Adding unit tests #40

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

kuldeepk3
Copy link
Contributor

@kuldeepk3 kuldeepk3 commented Jan 11, 2024

Change log description
Add more unit tests to increase code coverage.

Purpose of the change
Several classes have missing coverage

What the code does
Add more unit tests to increase code coverage.

How to verify it
All tests should pass.

@kuldeepk3 kuldeepk3 marked this pull request as ready for review January 18, 2024 11:12
Copy link
Contributor

@sachin-j-joshi sachin-j-joshi left a comment

Choose a reason for hiding this comment

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

LGTM

assertEquals(driverConfig.getDeviceDriverManager(), driverManager);
assertTrue(driverConfig.toString().contains("test"));
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: end of file newline

EventStreamClientFactory clientFactory = pravegaClientPool.getEventStreamClientFactory(new PravegaClientConfig(URI.create("tcp://localhost:12345"), "testScope"));
System.out.println("clientConfig = " + clientFactory.toString());
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: end of file newline

@sachin-j-joshi
Copy link
Contributor

@kuldeepk3 Please add description to the PR following this pattern

Change log description
Description that will be part of merge message.

Purpose of the change

Pointer to issue or bug or otherwise short description of problem.

What the code does

What code actual does?
any special notes for reviewers if any.

How to verify it
(Optional: steps to verify that the changes are effective)
Logs, images etc
What tests you have run. (Manually, automated whatever). How can someone else test this?

@sachin-j-joshi sachin-j-joshi merged commit c21db24 into pravega:master Jan 19, 2024
dada-dell-emc pushed a commit to dada-dell-emc/pravega-sensor-collector that referenced this pull request Jan 23, 2024
Add more unit tests to increase code coverage.
Signed-off-by: Kuldeep Kumar <[email protected]>
@kuldeepk3 kuldeepk3 deleted the stability-improvements-ut branch February 28, 2024 04:42
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