Commit Graph

262 Commits (44a999fb12491128757c850e67b670c250854390)

Author SHA1 Message Date
cgewecke 44a999fb12
Add tests for file-level function declarations (#858) 10 months ago
cgewecke 042a99e638
Add try / catch unit tests (#857) 10 months ago
cgewecke 01ab173845
Fix test project configs for viaIR detection in overrides (#856) 10 months ago
cgewecke 4f007c7583
Enable coverage when `viaIR` compiler flag is true (#854) 10 months ago
cgewecke ca695f0223
Add missing onPreCompile stage hook (#851) 10 months ago
cgewecke c6eea4b130
Remove ganache-cli related code from API & tests (#849) 10 months ago
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) 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) 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) 3 years ago