-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST/CI: refactor test suite to use TeenyTweetyNet, fix #330
generating test data: - rename tweetynet configs - add teenytweetynet configs - modify test_data_generate.py script - so it finds all configs - have it make model subdirectories in results/ - rewrite Makefile - differentiate 'all' and 'ci' generated test data - change commands, variables, urls to data refactoring tests: - add `model` parameters to fixtures: - to `specific_config` fixture - to `specific_config_toml` fixture - to `dataframe` fixtures - change `previous_run_path` fixture to `previous_run_path_factory` - use `model` as argument to `_previous_run_path` function returned by factory - add `models` command-line option for pytest + that will parametrize any test that specifies `models` fixture with whatever arguments are passed in at command line - use `model` fixture in tests - add model fixture to unit tests in test_core/ and test_cli/ - use `model` fixture in a test in test_labeled_timebins - use `previous_run_path_factory` with `model` in test_cli/test_learncurve.py CI: - have ci.yml download just test data generated for ci - have ci run pytest using command-line option models, and specifying only teenytweetynet for now (default but make it explicit anyway) - fix the `fix_prep_csv_paths` script so that it correctly finds prep csv files with the new test data directory names and structure other refactoring - move src/scripts to tests/scripts - rename test_data to data_for_tests + so it doesn't look like a sub-package of tests to `pytest`
- Loading branch information
1 parent
3a5c782
commit 2c29b8a
Showing
44 changed files
with
834 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.