onflow / cadence-tools

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

[Test] Stacktrace doesn't use filenames for test files #254

Closed jribbink closed 7 months ago

jribbink commented 9 months ago

Current Behavior

When an error is returned for a location in a test file, the location of the file in the stack trace is hard to understand. I.e. it should be test_mytest.cdc instead of a string of numbers

Screenshot 2023-12-01 at 12 19 00 PM

Expected Behavior

Align the name of the file with the actual system filename

Steps To Reproduce

Create an error inside of a test file

Environment

- Cadence version: 0.32.5
- Network: Test framework
m-Peter commented 8 months ago

@jribbink Nice idea :clap: