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)
BuildsDuetConductor
by naming(using convention) of class and method, the file name would be<class_name>.yaml
which should be as same as package of class.
The class must be annotated withJdutResource
.static Optional<DuetConductor>
AnnotationUtil. buildConductorByConvention(YamlConductorFactory conductorFactory, Method sourceMethod)
BuildsDuetConductor
by naming(using convention) of class and method, the file name would be<class_name>-<method_name>.yaml
which 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 JdutYamlFactory
JdutYamlFactory. buildByFactory(Supplier<YamlConductorFactory> supplier)
Constructs this object bySupplier
ofYamlConductorFactory
.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 YamlConductorFactory
JdutYamlFactory. 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 JdutYamlFactory
JdutYamlFactory. buildByFactory(Supplier<YamlConductorFactory> supplier)
Builds a new object bySupplier
ofYamlConductorFactory
. -
Uses of YamlConductorFactory in guru.mikelue.jdut.testng
Methods in guru.mikelue.jdut.testng that return YamlConductorFactory Modifier and Type Method Description protected YamlConductorFactory
YamlFactoryListenerBase. 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 YamlConductorFactory
YamlConductorFactory. build(DataSource dataSource)
Builds factory byDataSource
.
By default, this method would build resource loader asReaderFunctions.currentThreadContext(java.lang.String)
andDefaultOperatorFactory
as operator factory.static YamlConductorFactory
YamlConductorFactory. build(DataSource dataSource, Consumer<ConductorConfig.Builder> builderConsumer)
Builds factory byDataSource
.
By default, this method would build resource loader asReaderFunctions.currentThreadContext(java.lang.String)
andDefaultOperatorFactory
as operator factory.
-