Created
October 3, 2018 19:53
-
-
Save joeyslalom/d787844285d2fb6325b9096ee37e29e0 to your computer and use it in GitHub Desktop.
smoke test annotation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Convenience annotation for a Spring Boot Test + Junit5 + per class lifecycle | |
*/ | |
@Target(ElementType.TYPE) | |
@Documented | |
@Inherited | |
@Retention(RetentionPolicy.RUNTIME) | |
@ExtendWith(SpringExtension.class) | |
@TestInstance(TestInstance.Lifecycle.PER_CLASS) | |
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE) | |
public @interface SmokeTest { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment