You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really do not know if this is even possible, however it would be amazing if there was a way to get test coverage reports from the Tx::finalize method some how.
Ideal would be to get an object returned showing % Stmts, % Branch, % Funcs, % Lines, Uncovered Line #s.
This would have to only be during a test executing, perhaps an additional flag to Program::compile, as I'm thinking we'd need to somehow track the generated Plutus Code back to Helios code?, and also an additional parameter to Tx::finalize where you'd need to provide the trace-back symbols?
The text was updated successfully, but these errors were encountered:
There is already code-mapping from Helios-generated Uplc back to Helios, so a test coverage report could build on that.
line-coverage is pretty easy
statement (and other expressions) could would currently require taking the raw test-coverage report (eg. the line-coverage), and feeding it back to the Helios AST. That would require some restructuring
I really do not know if this is even possible, however it would be amazing if there was a way to get test coverage reports from the
Tx::finalize
method some how.Ideal would be to get an object returned showing
% Stmts, % Branch, % Funcs, % Lines, Uncovered Line #s
.This would have to only be during a test executing, perhaps an additional flag to
Program::compile
, as I'm thinking we'd need to somehow track the generated Plutus Code back to Helios code?, and also an additional parameter toTx::finalize
where you'd need to provide the trace-back symbols?The text was updated successfully, but these errors were encountered: