Skip to content

Stripping reflection applies to and breaks tests #610

@efirestone

Description

@efirestone

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions