Skip to main content

ConfigModelTestCaseResult

One saved test case's result on a configuration model version.

type ConfigModelTestCaseResult {
actualBomHash: String
diff: ConfigModelBomDiff
engineered: Boolean!
errors: JSON!
expectedBomHash: String!
key: String!
name: String!
passed: Boolean!
violations: JSON!
}

Fields​

ConfigModelTestCaseResult.actualBomHash ● String scalar​

The hash these answers give; null unless the result is complete with no errors.

ConfigModelTestCaseResult.diff ● ConfigModelBomDiff object​

How the bill of materials differs from the released version's for the same answers; null when there is no released version to compare against.

ConfigModelTestCaseResult.engineered ● Boolean! non-null scalar​

True when the answers fall outside the model's validated range and need engineering.

ConfigModelTestCaseResult.errors ● JSON! non-null scalar​

The engine's errors as returned: message keys and parameters.

ConfigModelTestCaseResult.expectedBomHash ● String! non-null scalar​

The hash the test case expects.

ConfigModelTestCaseResult.key ● String! non-null scalar​

The test case's key.

ConfigModelTestCaseResult.name ● String! non-null scalar​

The test case's name.

ConfigModelTestCaseResult.passed ● Boolean! non-null scalar​

True when the bill of materials' hash equals the expected hash.

ConfigModelTestCaseResult.violations ● JSON! non-null scalar​

The engine's limit violations as returned: message keys and parameters.

Member Of​

ConfigModelTestRun object