Repository navigation
v0.2.0
·
16 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- JSON array item expectation helpers:
expect_json_first(expected = nil, &block)expect_json_item(index, expected = nil, &block)expect_json_last(expected = nil, &block)
- Optional behavior descriptions on verb DSL calls:
get(path, description = nil) { ... }(and same for other verbs)
- Full-route example naming support in DSL output (composed from
base_path+ resource path + endpoint path). - Shared path composition utility used by both request execution and example naming.
Changed
- README examples and expectation helper docs updated for:
- Ruby-style JSON item helpers
- Optional verb descriptions and full-route example names
Fixed
expect_json_itemnow validates index type and reports non-integer indexes via actionable expectation failures.- JSON value assertion semantics are centralized across
expect_json,expect_json_at, and JSON item helpers to reduce drift. - Unknown/invalid JSON item and contract expectation failures continue to include enriched request/response/curl diagnostics.