Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update make tests to run tests per the README, remove unused test runners #202

Merged
merged 2 commits into from Aug 17, 2022

Conversation

jbirddog
Copy link
Contributor

Currently on main make tests fails with:

$ make tests
cd tests/SpiffWorkflow; \
	[ -e run_suite.* ] && ./run_suite.* || [ ! -e run_suite.* ]
/bin/sh: 2: ./run_suite.py: Permission denied
make: *** [Makefile:39: tests] Error 1

This change updates the Makefile so that make tests runs the unit tests in the same way that is described in the README:

$ make tests
cd tests/SpiffWorkflow
coverage run --source=SpiffWorkflow -m unittest discover -v . "*Test.py"
...

----------------------------------------------------------------------
Ran 528 tests in 39.810s

OK (skipped=2)

Also removes run_suite.sh and run_suite.py files that appear to be legacy.

@danfunk danfunk merged commit ecf0360 into sartography:main Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants