Package com.illumon.iris.validation
Class TableValidationSuite
java.lang.Object
com.illumon.iris.validation.TableValidationSuite
- All Implemented Interfaces:
Serializable
A suite of data quality tests for a table.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the dynamic tests for this suite.Gets notes for the test suite.Gets the validation mode for the validation suite.getValidationSuite
(boolean isRemote) Gets the class for the validation suite.void
Adds a note for the test suite.newTestInstance
(Database database, boolean isRemote) Create a new test case instance.boolean
skipTest
(DynamicTest method) Determines if the method should be skipped when executing the test suite.boolean
Determines if the method should be skipped when executing the test suite.toString()
-
Method Details
-
getTableValidationMode
Gets the validation mode for the validation suite.- Returns:
- validation mode for the validation suite.
-
getDynamicTests
Gets the dynamic tests for this suite.- Returns:
- dynamic tests for this suite
-
message
Adds a note for the test suite.- Parameters:
message
- note for the test suite.
-
getMessages
Gets notes for the test suite.- Returns:
- notes for the test suite.
-
toString
-
getValidationSuite
Gets the class for the validation suite.- Parameters:
isRemote
- true if the test case is run remotely; false otherwise.- Throws:
ClassNotFoundException
- unable to find the validation suite class
-
newTestInstance
public DataQualityTestCaseInterface newTestInstance(Database database, boolean isRemote) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException, ClassNotFoundException Create a new test case instance. For FULL_DATABASE test, this is called remotely while the constructor is called locally.- Parameters:
database
- database to run againstisRemote
- true if the test case is run remotely; false otherwise.- Returns:
- data quality test case instance
- Throws:
NoSuchMethodException
InvocationTargetException
IllegalAccessException
InstantiationException
ClassNotFoundException
-
skipTest
Determines if the method should be skipped when executing the test suite.- Parameters:
method
- test method- Returns:
- true if the method should be skipped when executing the test suite; false otherwise.
-
skipTest
Determines if the method should be skipped when executing the test suite.- Parameters:
method
- test method- Returns:
- true if the method should be skipped when executing the test suite; false otherwise.
-