Skip to content

Add JUnit rule that runs the test only with a certain Java version #9530

Closed
@snicoll

Description

@snicoll

We do have tests that asserts things that are no longer supported in Java9. Our support for Mockito is the best example: it only works as of Mockito 2.5+.

It would be nice to be able to put an annotation that disables all tests if Java9 is running.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions