Oso Cloud · Schema

TestSummary

Results of executing a single test. Sent to `oso-cloud` CLI as JSON.

AuthorizationAccess ControlRBACReBACABACPermissionsPolicySecurityIdentity

Properties

Name Type Description
name string Name of test.
passed integer How many assertions passed?
total integer How many assertions in total?
View JSON Schema on GitHub

JSON Schema

TestSummary.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.osohq.com/schemas/TestSummary.json",
  "title": "TestSummary",
  "description": "Results of executing a single test. Sent to `oso-cloud` CLI as JSON.",
  "type": "object",
  "required": [
    "name",
    "passed",
    "total"
  ],
  "properties": {
    "name": {
      "description": "Name of test.",
      "type": "string"
    },
    "passed": {
      "description": "How many assertions passed?",
      "type": "integer",
      "format": "uint",
      "minimum": 0
    },
    "total": {
      "description": "How many assertions in total?",
      "type": "integer",
      "format": "uint",
      "minimum": 0
    }
  }
}