Skip to main content

validate_fixtures_semantic

Function validate_fixtures_semantic 

Source
pub fn validate_fixtures_semantic(
    fixtures: &[Fixture],
    e2e_config: &E2eConfig,
    languages: &[String],
) -> Vec<ValidationError>
Expand description

Perform semantic validation on loaded fixtures against e2e configuration.

Checks for:

  1. Fixtures skipped for all languages (empty skip.languages)
  2. Unknown call references not in [e2e.calls.*]
  3. Categories where all fixtures are skipped (produces 0 test functions)
  4. Missing required input fields for the resolved call config
  5. (D1) Argument arity and type mismatches in call configs
  6. (D2) Field path assertions against simple return types