Skip to content

Improvements to pytest helpers

Marco Clemencic requested to merge pytest-improvements into master
  • add support for inline structured reference: if the reference class member is a string, it is used to find a file with the matching name and load it as a YAML file as reference, otherwise it can be a dictionary and it is used directly
  • fix pytest configuration so that asserts in the helper modules are enhanced like asserts in regular tests (see pytest assertion rewriting)

Merge request reports

Loading