Skip to content

v1.2.0

Choose a tag to compare

@mrfoh mrfoh released this 08 Mar 17:34
· 4 commits to main since this release
04c82d4

v1.2.0

Bug Fixes

  • Exit with non-zero code when tests fail — httpprobe run now exits with code 1 when any test case fails, enabling proper CI pipeline failure detection (#13)
  • Fix suite-level variables silently ignored — Added missing yaml/json struct tags to TestSuite.Variables, which caused suite-level variables defined in YAML/JSON to be silently dropped during parsing (#14)
  • Fix double slashes in URL concatenation — Replaced fmt.Sprintf with url.JoinPath to correctly normalise slashes when joining base URL with request path (#15)
  • Enable cross-variable references — Variables can now reference other defined variables (e.g. ${base_url}/users). Previously, InterpolateVariableValues passed nil instead of the variables map, preventing cross-variable resolution (#16)

Features

  • Variable type coercion (opt-in) — Variables with type: int, type: float, or type: bool are now coerced to native types when used in structured JSON request bodies. Omitting type defaults to string, preserving full backward compatibility (#18)

Chores

  • Consolidate CI workflows — Merged main.yml, pull-request.yml, and release.yml into a single ci.yml. Removed redundant manual status checks and duplicate test runs in the release pipeline. Standardised action versions
  • Fix filename typo — Renamed test_defintion.go to test_definition.go

Test Coverage

  • Added 13 new unit tests covering cross-variable references, type coercion, interpolation edge cases, and nil input handling