cgewecke
6739db6265
Use Hardhat client and ethers in unit tests ( #847 )
10 months ago
cgewecke
b1ee826ae5
Add test for transaction price errors with hardhat_mine ( #845 )
10 months ago
cgewecke
66082b3e56
Upgrade solidity version in tests to 0.8.x ( #843 )
10 months ago
cgewecke
fbed395a17
Restructure test folders / move npm commands to shell scripts ( #841 )
10 months ago
cgewecke
1c257b0c74
Remove migrations and skipped/stale tests from test suite ( #840 )
10 months ago
cgewecke
3f767d765e
Add command option to specify the source files to run the coverage on ( #806 ) ( #838 )
...
Co-authored-by: Claudia Barcelo <claudiabarcelovaldes40@gmail.com>
10 months ago
cgewecke
16c2a04e46
Add test for multi-contract files with inheritance ( #836 )
10 months ago
cgewecke
ecd808cdd7
Add test for modifiers with post-conditions ( #835 )
10 months ago
cgewecke
abea00b21c
Throw error when mocha parallel is set to true ( #833 )
10 months ago
cgewecke
658dc377b1
Fix instrumentation error for virtual modifiers ( #832 )
10 months ago
cgewecke
70de9d452b
Add test for file level `using for` statements ( #831 )
10 months ago
cgewecke
a6674c66fe
Fix chained ternary conditionals instrumentation ( #830 )
10 months ago
cgewecke
7c0f13a395
Perform ternary conditional injections before branch injections ( #828 )
10 months ago
cgewecke
bfb7e32225
Add test named mapping keys solidity syntax ( #816 )
1 year ago
cgewecke
05ab320fbc
Fixes for Hardhat 2.11.0 ( #740 )
2 years ago
cgewecke
16367d1538
Remove truffle files from project
3 years ago
cgewecke
21ca46e2de
Temporarily skip truffle integration tests
3 years ago
cgewecke
22992e1c19
Fix constructor test
3 years ago
cgewecke
cf126ea731
Fix assert tests
3 years ago
cgewecke
0ba3f11701
Remove more buildler things
3 years ago
cgewecke
d57a1315ec
Remove buidler
3 years ago
cgewecke
88c1d00390
Fix loops, modifiers, options and statements tests
3 years ago
cgewecke
0deb0013cb
Fix if/else tests
3 years ago
cgewecke
29c0fdda7f
Fix constructor keyword test
3 years ago
cgewecke
d4e8536aa3
Update tests for adjusted statement coverage
3 years ago
cgewecke
e9133d719c
Generate mocha JSON output with --matrix ( #601 )
3 years ago
cgewecke
adcaab5ce8
Add abi diff plugin method tests ( #600 )
3 years ago
cgewecke
d09ed179df
Add ABI diff logic ( #598 )
3 years ago
cgewecke
cd863d3760
Add modifierWhitelist option ( #597 )
3 years ago
cgewecke
503d1b2711
Allow duplicate modifiers on same function ( #596 )
3 years ago
cgewecke
0c9a79e09b
Fix pre/post strategy for modifier coverage ( #595 )
3 years ago
cgewecke
b4f303cfde
Do not treat inheritance constructors as branches ( #594 )
3 years ago
cgewecke
afd7ef0376
Add test matrix generator ( #593 )
3 years ago
cgewecke
e76a165b63
Add coverage measurement category options ( #592 )
3 years ago
cgewecke
f6f94c1cd5
Add modifier-invocation-as-branch coverage ( #588 )
3 years ago
cgewecke
64f205ab22
Add coverage for ternary conditionals ( #587 )
3 years ago
cgewecke
b0952b07bc
Suppress compilation warnings introduced by injected trace statements ( #583 )
3 years ago
cgewecke
93214db07c
Update tests for solc 0.7.x ( #582 )
3 years ago
cgewecke
add4702034
Update logical-or tests for Hardhat
3 years ago
cgewecke
9b173ae70f
Add branch coverage for logical OR conditions ( #499 )
...
* Add initial OR coverage test cases
* Add logicalOR coverage for "require" conditions
* Add logicalOR coverage for "while" conditions
* Add logicalOR coverage for "return" conditions
* Add logicalOR coverage for "if" conditions
* Add logicalOR branch highlighting for html report
3 years ago
cgewecke
95341a0f57
Add support for `UncheckedStatement` blocks ( #712 )
3 years ago
cgewecke
c69c11cb62
Remove Truffle patches ( #693 )
3 years ago
cgewecke
3300b2363a
Add solcOptimizerDetails option ( #683 )
3 years ago
cgewecke
5b7eb34e66
Fix hardhat_reset ( #667 ) and add unit tests ( #681 )
...
Co-authored-by: adjisb <85941014+adjisb@users.noreply.github.com>
Co-authored-by: Andres Adjimann <aadjiman@gmail.com>
3 years ago
Ryno Beyers
cdab28ca07
Add new hook and make temporary contracts directory configurable ( #664 )
3 years ago
cgewecke
67b711d118
Add test fixture for solc-8 ( #661 )
3 years ago
cgewecke
022d7d8115
Use internal visibility for fn level hash method defs ( #660 )
3 years ago
cgewecke
593d1e37a4
Add configureYulOptimizer option ( #659 )
...
Co-authored-by: Jason Smythe <jason@smythemail.za.net>
3 years ago
cgewecke
ba948807ae
Fix london gas bug / bump deps ( #658 )
...
* Skip failing hh integration test for import paths
* Upgrade ganache to latest (for source-map problem)
* Update solidity-parser/parser to 0.13.2
* Set initialBaseFeePerGas to zero
3 years ago
cgewecke
a743f2ef94
Fix pragma abicoder v2 instrumentation ( #615 )
4 years ago