Merge pull request #6022 from eugenp/junit5-fix

Fixed TestLauncher test name and config property name
This commit is contained in:
Eric Martin 2018-12-29 12:13:00 -06:00 committed by GitHub
commit 558fe78989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ public class TestLauncher {
//@formatter:off //@formatter:off
LauncherDiscoveryRequest request = LauncherDiscoveryRequestBuilder.request() LauncherDiscoveryRequest request = LauncherDiscoveryRequestBuilder.request()
.selectors(selectClass("com.baeldung.EmployeesTest")) .selectors(selectClass("com.baeldung.EmployeesUnitTest"))
.configurationParameter("junit.conditions.deactivate", "com.baeldung.extensions.*") .configurationParameter("junit.conditions.deactivate", "com.baeldung.extensions.*")
.configurationParameter("junit.extensions.autodetection.enabled", "true") .configurationParameter("junit.jupiter.extensions.autodetection.enabled", "true")
.build(); .build();
//@formatter:on //@formatter:on