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

Correction to UseCorrectAssertInTests. #4371

Merged
merged 0 commits into from Apr 18, 2024
Merged

Conversation

copybara-service[bot]
Copy link
Contributor

Correction to UseCorrectAssertInTests.

Contrary to the current text, blaze test actually does enable asserts, in both dbg and opt modes. I've verified this by running a JUnit test containing "assert false" with "blaze test -c opt" and "blaze test -c dbg".

My tests use a java_library BUILD rule that includes all the *Test.java files, and a GenTestRules to create the actual test targets.

@copybara-service copybara-service bot closed this Apr 18, 2024
@copybara-service copybara-service bot merged commit 9d66272 into master Apr 18, 2024
@copybara-service copybara-service bot deleted the test_623878457 branch April 18, 2024 15:59
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.

None yet

0 participants