generate_reference_files
- ip_manager.testing.generate_reference_files(path='', match_tests='')
Generate or regenerate the reference files for the specified ComponentReferenceTest tests.
- Parameters:
- path: string
Optional, test directory or test module in which to discover tests. If empty, the directory of the calling script is used, or the current working directory (cwd) when executed from a python console or commandline.
- match_tests: string
Optional, a filter expression to specify or limit the tests to run. Accepts any string that pytest -k accepts.
- Returns:
- The console output of the regeneration
Notes
This function is a shorthand for running
pytest.main([path, "--regenerate", "-k", match_tests])
in the current python process.