META
File-level metadata for readability, ownership, and test filtering.
When to use
- Add human-friendly context (
name,summary) - Tag tests for selection (
--tags,--skip-tags) - Track ownership and useful links
Minimal example
php
--- META ---
name: get user success path
summary: Validates unary GetUser response and metadata
tags: [smoke, user]
owner: backend-qa
links:
- https://example.org/specs/get-user1
2
3
4
5
6
7
2
3
4
5
6
7
Rules
- Optional section
- At most one
METAper document - Must be the first section if present
Fields
namesummarytagsownerlinks
Attribute-form fallback
Without a META section, tags/owner/summary can be set via #[tag(...)]/#[owner(...)]/#[summary(...)] attributes on any section — used only for whichever of the three META doesn't already provide:
php
#[tag(smoke,user)]
#[owner(backend-qa)]
--- REQUEST ---
{}1
2
3
4
2
3
4
See Attributes for the full attribute list.