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

Add tests #12

Open
ColdHeat opened this issue Jul 18, 2017 · 2 comments
Open

Add tests #12

ColdHeat opened this issue Jul 18, 2017 · 2 comments

Comments

@ColdHeat
Copy link
Collaborator

No description provided.

@mkinney
Copy link

mkinney commented Feb 13, 2020

Added unit and integration tests in #71

@mkinney
Copy link

mkinney commented Feb 13, 2020

mikekinney@sweet mkinney_mech % pytest --cov mech
================================================== test session starts ===================================================
platform darwin -- Python 3.7.6, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
rootdir: /Users/mikekinney/python/mkinney_mech, inifile: pytest.ini
plugins: mock-2.0.0, xdist-1.31.0, forked-1.1.3, cov-2.8.1
gw0 [118] / gw1 [118] / gw2 [118] / gw3 [118]
.................................................................................................................. [ 96%]
....                                                                                                               [100%]Coverage.py warning: No data was collected. (no-data-collected)


---------- coverage: platform darwin, python 3.7.6-final-0 -----------
Name                         Stmts   Miss  Cover
------------------------------------------------
mech/__init__.py                 3      0   100%
mech/__main__.py                13     13     0%
mech/command.py                 52     30    42%
mech/compat.py                  29     10    66%
mech/conftest.py                30      0   100%
mech/mech.py                   537     15    97%
mech/test_mech.py              874      0   100%
mech/test_mech_box.py           84      0   100%
mech/test_mech_int.py           26     16    38%
mech/test_mech_snapshot.py     152      0   100%
mech/test_utils.py             243      0   100%
mech/utils.py                  452    142    69%
mech/vmrun.py                  240    120    50%
------------------------------------------------
TOTAL                         2735    346    87%

================================================== 118 passed in 1.79s =====

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

2 participants