mirror of
https://github.com/google/nomulus
synced 2026-01-07 14:05:44 +00:00
Allow backwards compatibility with JUnit 4 @Rules in JUnit 5 (#526)
* Allow backwards compatibility with JUnit 4 @Rules in JUnit 5 This allows us to defer having to re-implement all of our JUnit 4 Rules as JUnit 5 extensions for now, while continuing to in-place upgrade all existing JUnit 4 test classes to JUnit 5. As proof of concept, this upgrades PremiumListUtils (which uses AppEngineRule, our largest and most complicated @Rule) to use the JUnit 5 test runner. * Apply formatter to entire file
This commit is contained in:
@@ -303,6 +303,7 @@ dependencies {
|
||||
testCompile deps['junit:junit']
|
||||
testCompile deps['org.junit.jupiter:junit-jupiter-api']
|
||||
testCompile deps['org.junit.jupiter:junit-jupiter-engine']
|
||||
testCompile deps['org.junit.jupiter:junit-jupiter-migrationsupport']
|
||||
testCompile deps['org.junit.vintage:junit-vintage-engine']
|
||||
testCompile deps['org.mockito:mockito-core']
|
||||
runtime deps['org.postgresql:postgresql']
|
||||
|
||||
Reference in New Issue
Block a user