mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Add Testable to CLASS_ANNOTATIONS in TestTypeExcludeFilter
See gh-18214
This commit is contained in:
parent
b1ca1ae6e9
commit
b9c8d7dd60
@ -33,7 +33,8 @@ import org.springframework.core.type.classreading.MetadataReaderFactory;
|
||||
class TestTypeExcludeFilter extends TypeExcludeFilter {
|
||||
|
||||
private static final String[] CLASS_ANNOTATIONS = { "org.junit.runner.RunWith",
|
||||
"org.junit.jupiter.api.extension.ExtendWith" };
|
||||
"org.junit.jupiter.api.extension.ExtendWith", "org.testng.annotations.Test",
|
||||
"org.junit.platform.commons.annotation.Testable"};
|
||||
|
||||
private static final String[] METHOD_ANNOTATIONS = { "org.junit.Test",
|
||||
"org.junit.platform.commons.annotation.Testable" };
|
||||
|
Loading…
Reference in New Issue
Block a user