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

Use more informative test names #883

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

nihohit
Copy link
Contributor

@nihohit nihohit commented Jan 31, 2024

The word "handle" usually hides what the test really checks, and should be made explicit.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nihohit nihohit requested a review from a team as a code owner January 31, 2024 18:45
@@ -135,7 +135,7 @@ pub(crate) mod shared_client_tests {

#[rstest]
#[timeout(SHORT_CLUSTER_TEST_TIMEOUT)]
fn test_client_handle_concurrent_workload(
fn test_client_handle_concurrent_workload_without_dropping_or_changing_values(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: does it make sense to include test_ at the start of each test method?

Copy link
Contributor

Choose a reason for hiding this comment

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

we're keeping the naming scheme from redis-rs in the rust code.

The word "handle" usually hides what the test really checks, and should be made explicit.
@shachlanAmazon shachlanAmazon merged commit 413a592 into valkey-io:main Feb 1, 2024
25 checks passed
@nihohit nihohit deleted the handle-test branch February 4, 2024 13:30
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.

4 participants