ghtest.create_tests_workflow module¶
- ghtest.create_tests_workflow.create_tests(cassette_dir, test_dir, src_dir, clean_up=True, unsafe=True, history=False, vb=1)[source]¶
Run test suite, return values from component functions.
- Parameters:
cassette_dir (str) – folder with vcr cassettes
test_dir (str) – folder with test modules
src_dir (str) – folder with src under test
clean_up (bool) – remove existing cassettes and tests
unsafe (bool) – run potentially destructive functions without requesting permission
history (bool) – disregard parameter suggestions from history
vb (int) – verbosity
- Returns:
(scs, sps, gts, trs) (scans, suggested params, generated tests, test results)
- Return type:
tuple
- Side Effects:
deletes cassette_dir, test_dir writes cassette_dir, test_dir executes functions in src, potentially including destructive functions