In this tutorial, we will create a custom attestation type with schema and evaluation for Common Test Report Format
In this tutorial, we will create a for .
By the end, you will have a reusable ctrf attestation type in Kosli that validates test reports and enforces a zero-failures compliance rule.
Kosli will validate ctrf-report.json against the schema and evaluate the jq rule. If .results.summary.failed is 0, the attestation will be marked as compliant.
You have created a reusable ctrf custom attestation type and used it to report a test result to Kosli. Any team in your organisation can now use this same type to uniformly enforce a zero-failures quality gate across all projects, regardless of which testing framework they use.From here you can: