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

Stripping reflection applies to and breaks tests #610

Open
efirestone opened this issue Mar 30, 2016 · 0 comments
Open

Stripping reflection applies to and breaks tests #610

efirestone opened this issue Mar 30, 2016 · 0 comments

Comments

@efirestone
Copy link

Configuration flags specified with translateArgs are applied to both the main source and the tests. This means that if you use the --strip-reflection flag your production code may run fine (and be smaller), but your test code will break because JUnit and pretty much all unit test frameworks use reflection to discover the test cases.

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

1 participant