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

coverage report #137

Open
SandeepThokala opened this issue Mar 21, 2023 · 4 comments
Open

coverage report #137

SandeepThokala opened this issue Mar 21, 2023 · 4 comments

Comments

@SandeepThokala
Copy link
Collaborator

python -m unittest tests.test_run_simulation

Name                           Stmts   Miss  Cover
--------------------------------------------------
hexse\__init__.py                  0      0   100%
hexse\discretize.py               24      1    96%
hexse\run_simulation.py          215     96    55%
hexse\sequence_info.py           337    261    23%
hexse\settings\__init__.py       130     11    92%
hexse\simulation.py              145    121    17%
tests\__init__.py                  0      0   100%
tests\test_run_simulation.py     409    110    73%
--------------------------------------------------
TOTAL                           1260    600    52%
@GopiGugan
Copy link
Contributor

If there are any deprecated functions, you can look into excluding those functions from the coverage report

@SandeepThokala
Copy link
Collaborator Author

Test coverage report after adding a new test and few coverage exclusion conditions

Name                           Stmts   Miss  Cover
--------------------------------------------------
hexse\discretize.py               24      1    96%
hexse\run_simulation.py          138     12    91%
tests\test_run_simulation.py     279      1    99%

@ArtPoon
Copy link
Contributor

ArtPoon commented Apr 4, 2023

@SandeepThokala to update coverage report after resolving PR #138

@SandeepThokala SandeepThokala changed the title test_run_simulation.py coverage report coverage report Apr 18, 2023
@SandeepThokala
Copy link
Collaborator Author

Updated coverage

Name                           Stmts   Miss  Cover
--------------------------------------------------
hexse\__init__.py                  0      0   100%
hexse\discretize.py               24      1    96%
hexse\run_simulation.py          127      3    98%
hexse\sequence_info.py           385     12    97%
hexse\settings\__init__.py       130     11    92%
hexse\simulation.py              146     15    90%
tests\test_run_simulation.py     265      3    99%
tests\test_sequence_info.py     1497      1    99%
tests\test_simulation.py         666      1    99%
--------------------------------------------------
TOTAL                           3240     47    99%

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

No branches or pull requests

3 participants