cgewecke
4c65dc2271
Support constructor keyword / bump solidity-parser
7 years ago
cgewecke
eed704936a
Add logic / tests to emit own events
7 years ago
cgewecke
a9b575d470
Emit coverage events. Bump solc to 0.4.21, Truffle to 4.1.5
7 years ago
cgewecke
633ceec9d1
Allow interface contracts
7 years ago
cgewecke
417ad1de81
Preserve CRs of removed modifiers
7 years ago
Alex
dcd5681746
Include lines with comments in line coverage
7 years ago
cgewecke
dfede5b05f
Bump parser to 0.4.3
7 years ago
cgewecke
2ec36ca1a9
Fix parsing bug preventing fn definition in structs
7 years ago
cgewecke
1645e34376
ABI swap
7 years ago
cgewecke
0fa37ce8d5
Also track/modify parents methods
7 years ago
cgewecke
5ebd3041f6
Process all files in contracts folder for constant ABI mods
7 years ago
Alex Rea
986eeadc1b
Do not require tests to use .call()
7 years ago
Alex Rea
a1a55ef1f1
Handle *.sol files that are invalid Solidity
7 years ago
Alex Rea
c2dd7878f4
Add test with library with constant variable
7 years ago
Alex Rea
3b004c7497
Restore preprocessing of constant/view
7 years ago
cgewecke
dfd564ad03
Do not preprocess view and constant
7 years ago
cgewecke
05f8da00c9
Post-process exclude constant modifier too
7 years ago
cgewecke
14d7c6b51b
Fix gas test, bump to testrpc-sc 6.0.4
7 years ago
cgewecke
da0f9dcede
Fix pure fix
7 years ago
cgewecke
2ecbe5efc6
Permit view, pure, experimental and solc 0.4.17
7 years ago
cgewecke
816d99e7bc
Add relative mapping logic, remove path corrections in tests
7 years ago
cgewecke
31167a0cb3
Fix tests that fail with stream read
7 years ago
cgewecke
a0a4254f47
Revert vm stipend fix
7 years ago
Dan Phifer
b967e7b8be
Most of the tests pass now, except there is still an issue with starting testrpc-sc in the "before" hook.
7 years ago
cgewecke
f6a2d6dab7
Upgrade to newer testrpc with call stipend fix, unskip test
7 years ago
cgewecke
295ffbbffd
Add transfer / send unit test. Use Node7
7 years ago
cgewecke
837deed888
Lint
7 years ago
cgewecke
09d230daae
Allow truffle.js to be named truffle-config.js
7 years ago
Alex Rea
cc0fe764c5
Correctly instrument comments near function's {
7 years ago
cgewecke
bc8e0b8931
Fix lcov html report bug
7 years ago
Alex Rea
57ffe3ead4
Clarify comment explaining what test is doing
7 years ago
cgewecke
be99e03f1b
Make solc warnings filter work correctly
7 years ago
cgewecke
2ead932203
Make tests work
7 years ago
Alex Rea
f1389eecda
First stab at instrumenting asserts
7 years ago
Alex Rea
ca19b64d76
Upgrade to solc 0.4.13
7 years ago
cgewecke
854ddd2f96
Add testrpc-sc signing test and lint
7 years ago
cgewecke
4fa49701a8
exec.js refactor: modularized and moved logic to lib/app.js
7 years ago
Alan Lu
96430f727d
Improved mock test command
7 years ago
Alan Lu
bc27bd06da
Added test for race condition
7 years ago
cgewecke
01a852a974
Instrument empty contract bodies correctly
7 years ago
cgewecke
fa21d5bc22
Instrument conditional assignment to MemberExpressions
7 years ago
Alex Rea
c500b9df7a
Allow files to be skipped during coverage
...
While ordinarily we shouldn't want to do these, it is possible to
construct valid contracts using assembly that break when the coverage
events are injected.
8 years ago
cgewecke
9d9dcda181
Fix tuple parsing / update tests
8 years ago
cgewecke
05e5538b50
Unit test copying project into env ( #39 )
8 years ago
Alex Rea
5bf8f9372c
Copy all directories when setting up coverageEnv
...
The exception is `node_modules`, which must have copyNodeModules
set to `true` in .solcover.js in order to be included.
8 years ago
cgewecke
61c5decfa1
Fix testrpc filter tests. Disable yarn
8 years ago
cgewecke
bfcb67dbcd
Add (disabled) events filter unit test
8 years ago
cgewecke
566758b40c
Use coverage network port if avail (& unit test).
8 years ago
cgewecke
9f41aee7fa
Move files into /lib and /bin
8 years ago
cgewecke
495f776d27
Use node_modules/.bin/testrpc-sc
8 years ago