diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2022-03-24 18:38:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-24 18:38:14 +0100 |
| commit | a94a3a2976468f4ca79aec13a301e0da74079ddc (patch) | |
| tree | 18add56b243d6de62b6d1d7f3f60d2d1f25fb55c /README.md | |
| parent | 299fa40894236163a13051fe3b52b3d2e6951e8a (diff) | |
| parent | 29c63d29d6ba5b80cd680e690aa36fb6281e0467 (diff) | |
| download | miasm-a94a3a2976468f4ca79aec13a301e0da74079ddc.tar.gz miasm-a94a3a2976468f4ca79aec13a301e0da74079ddc.zip | |
Merge pull request #1422 from CLOVIS-AI/pytest
Unittest/Pytest compatibility
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md index 07e1d8e6..50b8de59 100644 --- a/README.md +++ b/README.md @@ -583,7 +583,14 @@ Miasm comes with a set of regression tests. To run all of them: ```pycon cd miasm_directory/test + +# Run tests using our own test runner python test_all.py + +# Run tests using standard frameworks (slower, require 'parameterized') +python -m unittest test_all.py # sequential, requires 'unittest' +python -m pytest test_all.py # sequential, requires 'pytest' +python -m pytest -n auto test_all.py # parallel, requires 'pytest' and 'pytest-xdist' ``` Some options can be specified: |