cgewecke
ab272e754a
Only inject file-level instr. for first pragma in file
10 months ago
cgewecke
0ab12820eb
Documentation Cleanup & Improvements for 0.8.7 release ( #859 )
10 months ago
cgewecke
042a99e638
Add try / catch unit tests ( #857 )
10 months ago
cgewecke
4f007c7583
Enable coverage when `viaIR` compiler flag is true ( #854 )
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
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
a6674c66fe
Fix chained ternary conditionals instrumentation ( #830 )
10 months ago
cgewecke
7c0f13a395
Perform ternary conditional injections before branch injections ( #828 )
10 months 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
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
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
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
9ab7757a92
Support file scoped function definitions ( #605 )
4 years ago
cgewecke
b6c483976e
Allow truffle projects to contain vyper contracts ( #571 )
4 years ago
cgewecke
c88eed29e7
Locate .coverage_contracts correctly for subfolder paths ( #570 )
4 years ago
cgewecke
e106076ed5
Clean up & fixes for Hardhat PR ( #569 )
4 years ago