Skip to content

Commit

Permalink
LHTest java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
eduwercamacaro committed Dec 20, 2024
1 parent f66325c commit 9d267b6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test-utils/src/main/java/io/littlehorse/test/LHTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
import java.lang.annotation.Target;
import org.junit.jupiter.api.extension.ExtendWith;

/**
* {@code @LHTest} identifies test classes and methods that run a Littlehorse workflow.
* This annotation will spin up a Littlehorse cluster using the "bootstrapper.class" configuration.
* It can be used at test class level or method level:
* <blockquote><pre>
* {@code @LHTest}
* class MyTest {
* {@code @LHTest}
* void myTestMethod() {
* }
* }
* </pre></blockquote>
*
*
*/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@ExtendWith(LHExtension.class)
Expand Down

0 comments on commit 9d267b6

Please sign in to comment.