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

add HandleTestLibraries #1120

Open
xenoterracide opened this issue Dec 30, 2024 · 2 comments
Open

add HandleTestLibraries #1120

xenoterracide opened this issue Dec 30, 2024 · 2 comments

Comments

@xenoterracide
Copy link

this should be a superset of HandleTestAssertionLibraries, meaning if you add this, that should be implied (IMHO)

However, things like this should be automatically added as well. Junit injects a file here so it would pragmatically never be null.

    option("NullAway:ExcludedFieldAnnotations", "org.junit.jupiter.api.io.TempDir")

I'm certain there are other annotations too.

@msridhar
Copy link
Collaborator

msridhar commented Jan 1, 2025

@xenoterracide I'd be open to just baking in some extra excluded field annotations and the like to better handle tests; I think that might be better than us adding yet another option.

@xenoterracide
Copy link
Author

up to you ;)

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

No branches or pull requests

2 participants