dapple icon indicating copy to clipboard operation
dapple copied to clipboard

Logging from inside setUp()

Open chatch opened this issue 7 years ago • 1 comments

It appears logging from setUp() is not supported. I've tried this with log statements from debug.sol (eg. log_uint) as well as with the Reporter mechanism.

Presumably this is because logging isn't fully setup until after setUp() ?

chatch avatar Jul 14 '16 08:07 chatch

Logging gents only activated for the test cases, not set up! This is because setUp and test cases are done in two separate "transactions" and logging is implemented in a stateless fashion.

I'll leave this issue in here, since setUp logging is desired, but it could get implemented only in a few months

mhhf avatar Jul 19 '16 20:07 mhhf