Test-Driven Development · Example Payload

Test Driven Development Test Spec Example

sample-tags-itemsample-tags-item

Test Driven Development Test Spec Example is an example object payload from Test-Driven Development, with 13 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idnamedescribecontextit_shouldgivenwhenthenassertionstagslanguageframeworkstatus

Example Payload

Raw ↑
{
  "id": "sample-id",
  "name": "Sample Name",
  "describe": "sample-describe",
  "context": "sample-context",
  "it_should": "sample-it-should",
  "given": "sample-given",
  "when": "sample-when",
  "then": "sample-then",
  "assertions": [
    {},
    {},
    {}
  ],
  "tags": [
    "sample-tags-item",
    "sample-tags-item"
  ],
  "language": "JavaScript",
  "framework": "Jest",
  "status": "failing"
}