-
Notifications
You must be signed in to change notification settings - Fork 23
Testing changes to Easydata
Amy Wooding edited this page Sep 3, 2022
·
8 revisions
It's a bit of a rat's nest right now...but tests exist.
There are tests that we inherited from cookiecutter-datascience.
pytest in tests will run it
Currently fails one of the tests because our directory structure is different. This needs to get fixed.
Let's call the project test-env
- locally:
cookiecutter repo-locationwith the repo on the branch to be tested, inputtest-envas the project and repo name. - in ci: See
.circleci/config.ymland the setup section
cd test-env
make create_environment
conda activate test-env
touch environment.yml
make update_environment
conda activate test-env
python src/tests/make_test_datasets.py
make test
cd docs
purest -v test_docs.py