captest.captest.validate_test_setup

captest.captest.validate_test_setup(entry)

Validate a single TEST_SETUPS entry dict.

Raises:
  • KeyError – If required keys are missing or unknown keys are present.

  • ValueError – If reg_fml does not parse, lhs+rhs are not subsets of both reg_cols_meas and reg_cols_sim, scatter_plots is not callable, or rep_conditions / rep_conditions['func'] have an unexpected shape.