|
|
пре 2 месеци | |
|---|---|---|
| .. | ||
| teal | пре 3 година | |
| .gitignore | пре 3 година | |
| README.md | пре 3 година | |
| attest.py | пре 2 година | |
| cnNftMetadata.json | пре 3 година | |
| conftest.py | пре 3 година | |
| foo | пре 3 година | |
| foo.js | пре 3 година | |
| foo2.ts | пре 3 година | |
| pytest.ini | пре 3 година | |
| simple.py | пре 2 година | |
| test.py | пре 3 година | |
| test2.ts | пре 3 година | |
| test_tmpl_sig.py | пре 3 година | |
| test_vaa_verify.py | пре 3 година | |
| test_wormhole_core.py | пре 3 година | |
| testlib.ts | пре 3 година | |
| tests.vaa | пре 3 година | |
| tvl.ts | пре 2 година | |
| whinfo.ts | пре 2 година | |
README for the adversarial and extra tests added by Coinspect during the audit.
Some of the new tests require pytest, which was already declared as a
dependency.
Two new randomized test use the approach that previous tests where using
and are simply in test.py. See Usage.
test.pytest.py now accept two additional flags:
--loops defines how many times the tests should run
--bigset defines if it should use the big guardian set
For example, to run the tests with 10 loops and a big validator set.
Note the --loop flag will not affect previous tests.
python test.py --loops 10 --bigset
Simple do:
$ pytest
Shared fixtures are declared in conftest.py