mpizenberg / elm-test-rs

Fast and portable executable to run your Elm tests
BSD 3-Clause "New" or "Revised" License
80 stars 13 forks source link

Return location of test in json report #87

Open razzeee opened 3 years ago

razzeee commented 3 years ago

It would be helpful to get the location of a test. At least the line number, column would be a bonus. I'm not too sure if we need the file path too. But it might not hurt?

Similar to: https://github.com/rtfeldman/node-test-runner/issues/368

mpizenberg commented 2 years ago

Also related to that issue is the usage of labels to match tests results and tests detection inside VSCode client plugin. I need to have a look at that (this is a reminder comment for me).

razzeee commented 2 years ago

Yes, I would also think this makes more sense in tandem.

Maybe we should even check the new vscode api and see if there's something obvious, that's missing https://github.com/microsoft/vscode/blob/main/src/vs/vscode.d.ts#L14406 https://code.visualstudio.com/api/extension-guides/testing