Class ToolsExtension

java.lang.Object
com.karuslabs.elementary.junit.ToolsExtension
All Implemented Interfaces:
Consumer<LabelSource>, AfterEachCallback, Extension, InvocationInterceptor, ParameterResolver, TestInstanceFactory, ArgumentsProvider, AnnotationConsumer<LabelSource>

public class ToolsExtension extends Object implements ArgumentsProvider, AnnotationConsumer<LabelSource>, ParameterResolver
A JUnit extension that provides an annotation processing environment in which to execute tests. The annotation processing utilities can be accessed either via Tools or injected through the test class's constructor or test method's parameters.

Java source files may be included for compilation by annotating the test class with @Classpath, @Inline, @Introspect or @Resource.

Elements can be used in parameterized tests using @LabelSource.