Closed 0xJem closed 2 years ago
Hey, unfortunately after the tests are compiled to wasm
, all the information about the lines, etc are lost and can't be traced. I will look into if it's possible to provide the test case name or just fail that test and not crash matchstick
matchstick 0.5.3 now should fail the tests that call a function which has not been mocked and display the failed tests at the bottom of the log
Hey, unfortunately after the tests are compiled to
wasm
, all the information about the lines, etc are lost and can't be traced. I will look into if it's possible to provide the test case name or just fail that test and not crash matchstick
That's a shame! Thanks for the quick reply. I think the changes in 0.5.3 should at least help with tracking down the offending code.
Running matchstick-as 0.5.0, if there is a call that has not been mocked, the CLI output does not provide any information/context on which test case (ideally, which line in the source code!) caused it. All that is output is:
It would be far more helpful if that context was given. Thanks!