public static ProctorLoadResult verifyWithoutSpecification ( @ Nonnull final TestMatrixArtifact testMatrix , final String matrixSource ) { final ProctorLoadResult . Builder resultBuilder = ProctorLoadResult . newBuilder ( ) ; for ( final Entry < String , ConsumableTestDefinition > entry : testMatrix . getTests ( ) . entrySet ( ) ) { final String testName = entry . getKey ( ) ; final ConsumableTestDefinition testDefinition = entry . getValue ( ) ; try { verifyInternallyConsistentDefinition ( testName , matrixSource , testDefinition ) ; } catch ( IncompatibleTestMatrixException e ) { LOGGER . info ( String . format ( "Unable to load test matrix for %s" , testName ) , e ) ; resultBuilder . recordError ( testName , e ) ; } } return resultBuilder . build ( ) ; }
Verifies that the TestMatrix is correct and sane without using a specification . The Proctor API doesn t use a test specification so that it can serve all tests in the matrix without restriction . Does a limited set of sanity checks that are applicable when there is no specification and thus no required tests or provided context .