test.py -> cmdtest.py, pylint install
parent
b08bff76a1
commit
65d22c50c1
2 changed files with 11 additions and 5 deletions
|
|
@ -46,7 +46,7 @@ commands and filenames) will speed up your work at the command line greatly.
|
|||
|
||||
The examples in this tutorial are geared towards Bitcoin, but with some
|
||||
modification they may be used with altcoins and forkcoins for which MMGen
|
||||
supports transaction operations (BCH, LTC, ETH and ETC as of this writing).
|
||||
supports transaction operations (BCH, LTC, ETH, ETC and XMR as of this writing).
|
||||
See [Altcoin-and-Forkcoin-Support][09] for more details.
|
||||
|
||||
#### <a id="a_iv">Invocation</a>
|
||||
|
|
|
|||
|
|
@ -63,6 +63,12 @@ $ python3 -m pip download pycoin # online
|
|||
$ python3 -m pip install --user --no-build-isolation pycoin-*.tar.gz # offline
|
||||
```
|
||||
|
||||
Install Pylint:
|
||||
|
||||
```text
|
||||
$ python3 -m pip install --user pylint
|
||||
```
|
||||
|
||||
CD to the MMGen repository root and build without installing:
|
||||
|
||||
```text
|
||||
|
|
@ -73,7 +79,7 @@ $ python3 setup.py build_ext --inplace
|
|||
Run the following if upgrading from a previous version of MMGen:
|
||||
|
||||
```text
|
||||
$ test/test.py clean
|
||||
$ test/cmdtest.py clean
|
||||
```
|
||||
|
||||
Run the test suite in fast mode, skipping altcoin tests:
|
||||
|
|
@ -196,9 +202,9 @@ The test scripts themselves are all located in the `test/` directory and bear
|
|||
the `.py` extension. They may be run individually if desired. Options and
|
||||
arguments required by the tests are described in detail on their help screens.
|
||||
|
||||
High-level testing of the MMGen system is performed by `test/test.py`, which
|
||||
High-level testing of the MMGen system is performed by `test/cmdtest.py`, which
|
||||
uses the `pexpect` library to simulate interactive operation of MMGen user
|
||||
commands. Running `test/test.py` with the `-e` option will display the
|
||||
commands. Running `test/cmdtest.py` with the `-e` option will display the
|
||||
commands’ output on the screen as they’re being run.
|
||||
|
||||
| Test | What it tests |
|
||||
|
|
@ -209,7 +215,7 @@ commands’ output on the screen as they’re being run.
|
|||
| `test/objtest.py` | MMGen data objects - creation and error handling |
|
||||
| `test/objattrtest.py` | MMGen data objects - immutable attributes |
|
||||
| `test/scrambletest.py`| HMAC scramble strings used in key/password derivation|
|
||||
| `test/test.py` | overall operation of MMGen commands |
|
||||
| `test/cmdtest.py` | overall operation of MMGen commands |
|
||||
| `test/tooltest.py` | the `mmgen-tool` utility - overall operation |
|
||||
| `test/tooltest2.py` | the `mmgen-tool` utility - data validity |
|
||||
| `test/unit_tests.py` | low-level subsystems |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue