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

Gather performance tests #3238

Closed
wants to merge 1 commit into from
Closed

Conversation

nicokosi
Copy link

@nicokosi nicokosi commented Oct 25, 2023

Use flaky and performance JUnit @Tag annotations. Cf. https://junit.org/junit5/docs/current/user-guide/#writing-tests-tagging-and-filtering

Use @Nested annotation when mixing common tests with performance tests. Cf. https://junit.org/junit5/docs/current/user-guide/#writing-tests-nested

Fixes #3170.

Check List:

Following the contributing guidelines will make it easier for us to review and accept your PR.

Use `flaky` and `performance` JUnit `@Tag` annotations.
Cf. https://junit.org/junit5/docs/current/user-guide/#writing-tests-tagging-and-filtering

Use `@Nested` annotation when mixing common tests with performance tests.
Cf. https://junit.org/junit5/docs/current/user-guide/#writing-tests-nested

Fixes assertj#3170.
@nicokosi nicokosi changed the title Segregate and deactivate performance flaky tests 🔕 Gather performance tests Oct 25, 2023
@nicokosi
Copy link
Author

I first gave a try segregating/deactivating tests like Iterables_assertDoesNotHaveDuplicates_Test#should_pass_within_time_constraints and Iterables_assertDoesNotHaveDuplicates_Test#should_pass_within_time_constraints_with_custom_comparison_strategy but it may not be the best idea (thanks @jcgay for the hint)... 😅

Then I tried to move those tests into the assertj-performance-tests module but I failed. 😇

I close this PR. 👋

@nicokosi nicokosi closed this Oct 25, 2023
@nicokosi nicokosi deleted the segregate-perf-tests branch October 25, 2023 13:03
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.

Some Flaky tests
1 participant