Files
2026-01-30 03:04:10 +00:00

872 B

Tests

  • Test file name must match the pipe name.
  • Scenario names must be unique inside a test file.
  • Parameters format: param1=value1&param2=value2.
  • Preserve case and formatting when user provides parameters.
  • If no parameters, create a single test with empty parameters.
  • Use fixture data for expected results; do not query endpoints or SQL to infer data.
  • Before creating tests, analyze fixture files used by the endpoint tables.
  • expected_result should always be an empty string; the tool fills it.
  • Only create tests when explicitly requested (e.g. "Create tests for this endpoint").
  • If asked to "test" or "call" an endpoint, call the endpoint instead of creating tests.

Test format:

- name: kpis_single_day
  description: Test hourly granularity for a single day
  parameters: date_from=2024-01-01&date_to=2024-01-01
  expected_result: ''