onflow / cadence-tools

Developer tools for Cadence
https://www.onflow.org/
Apache License 2.0
24 stars 20 forks source link

[test] Use filenames instead of script ID when printing test results #272

Closed m-Peter closed 7 months ago

m-Peter commented 7 months ago

Closes https://github.com/onflow/cadence-tools/issues/254

Description

When printing the test results, it is difficult to guess from which test file the failures come from, e.g.

error: panic: runtime error
--> 7465737400000000000000000000000000000000000000000000000000000000:9:12

vs

error: panic: runtime error
--> tests/test_script.cdc:9:12

m-Peter commented 7 months ago

cc @jribbink