|
|
преди 2 години | |
|---|---|---|
| .. | ||
| teal | преди 3 години | |
| .gitignore | преди 3 години | |
| NOTES | преди 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