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

Split Tests into Separate Files #1126

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

chao-mu
Copy link

@chao-mu chao-mu commented Dec 24, 2024

I sat down to write some tests and was alarmed at the test file being thousands of lines long. So I split it up. Is this something you'd want? Tests still run locally.

I didn't commit it, but I wrote this script for generating test coverage.

#!/usr/bin/env sh

# Usage: scripts/generate-coverage-report.sh

coverage run -m unittest discover
coverage html
coverage report
echo "## Open htmlcov/index.html for detailed breakdown ##"

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.

1 participant