Skip to content

Latest commit

 

History

History

validation-junit5

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

validation-junit5

Junit5 validation components

javadoc

Usage

After importing the bom:

<dependency>
  <!-- model validation -->
  <groupId>com.mastercard.test.flow</groupId>
  <artifactId>validation-junit5</artifactId>
</dependency>

The Validator implementation provided by this module can used in a dynamic test:

@TestFactory
Stream<DynamicNode> checks() {
	return new Validator()
			.checking( MY_SYSTEM_MODEL )
			.with( AbstractValidator.defaultChecks() )
			.tests();
}