Pact-jvm: JUnit 5 support

Created on 30 Oct 2017  路  3Comments  路  Source: pact-foundation/pact-jvm

Support in consumer and provider tests for JUnit 5 would be awesome. We're planning to migrate to JUnit 5 and the missing support in Pact is currently preventing us to do so.

Most helpful comment

You're right of course, didn't think of that.

Nevertheless, native JUnit5 support would be a great feature.

All 3 comments

@thombergs: JUnit 5 lets you execute JUnit 4 test cases. Just use junit-platform-console-standalone-x.y.z.jar and the Pact tests are executed as vintage tests.

You're right of course, didn't think of that.

Nevertheless, native JUnit5 support would be a great feature.

3.5.16 has been released with JUnit 5 support

Was this page helpful?
0 / 5 - 0 ratings