Uses of Class
guru.mikelue.jdut.yaml.YamlConductorFactory
-
Packages that use YamlConductorFactory Package Description guru.mikelue.jdut.annotation Defines annotations could be used to integrate testing framework.guru.mikelue.jdut.junit4 guru.mikelue.jdut.junit5 guru.mikelue.jdut.testng guru.mikelue.jdut.yaml -
-
Uses of YamlConductorFactory in guru.mikelue.jdut.annotation
Methods in guru.mikelue.jdut.annotation with parameters of type YamlConductorFactory Modifier and Type Method Description static Optional<DuetConductor>AnnotationUtil. buildConductorByConvention(YamlConductorFactory conductorFactory, Class<?> sourceClass)BuildsDuetConductorby naming(using convention) of class and method, the file name would be<class_name>.yamlwhich should be as same as package of class.
The class must be annotated withJdutResource.static Optional<DuetConductor>AnnotationUtil. buildConductorByConvention(YamlConductorFactory conductorFactory, Method sourceMethod)BuildsDuetConductorby naming(using convention) of class and method, the file name would be<class_name>-<method_name>.yamlwhich should be as same as package of method's class.
The method must be annotated withJdutResource. -
Uses of YamlConductorFactory in guru.mikelue.jdut.junit4
Method parameters in guru.mikelue.jdut.junit4 with type arguments of type YamlConductorFactory Modifier and Type Method Description static JdutYamlFactoryJdutYamlFactory. buildByFactory(Supplier<YamlConductorFactory> supplier)Constructs this object bySupplierofYamlConductorFactory.Constructors in guru.mikelue.jdut.junit4 with parameters of type YamlConductorFactory Constructor Description JdutYamlFactory(YamlConductorFactory yamlConductorFacotry)Constructs this object by a instance ofYamlConductorFactory. -
Uses of YamlConductorFactory in guru.mikelue.jdut.junit5
Methods in guru.mikelue.jdut.junit5 that return YamlConductorFactory Modifier and Type Method Description protected abstract YamlConductorFactoryJdutYamlFactory. getYamlConductorFactory(org.junit.jupiter.api.extension.ExtensionContext context, JdutYamlFactory.Event event)Method parameters in guru.mikelue.jdut.junit5 with type arguments of type YamlConductorFactory Modifier and Type Method Description static JdutYamlFactoryJdutYamlFactory. buildByFactory(Supplier<YamlConductorFactory> supplier)Builds a new object bySupplierofYamlConductorFactory. -
Uses of YamlConductorFactory in guru.mikelue.jdut.testng
Methods in guru.mikelue.jdut.testng that return YamlConductorFactory Modifier and Type Method Description protected YamlConductorFactoryYamlFactoryListenerBase. buildYamlConductorFactory(IAttributes attributes) -
Uses of YamlConductorFactory in guru.mikelue.jdut.yaml
Methods in guru.mikelue.jdut.yaml that return YamlConductorFactory Modifier and Type Method Description static YamlConductorFactoryYamlConductorFactory. build(DataSource dataSource)Builds factory byDataSource.
By default, this method would build resource loader asReaderFunctions.currentThreadContext(java.lang.String)andDefaultOperatorFactoryas operator factory.static YamlConductorFactoryYamlConductorFactory. build(DataSource dataSource, Consumer<ConductorConfig.Builder> builderConsumer)Builds factory byDataSource.
By default, this method would build resource loader asReaderFunctions.currentThreadContext(java.lang.String)andDefaultOperatorFactoryas operator factory.
-