I am trying to switch from using exercism in the browser to doing the exercises in VS Code. How do I get a similar nice test output (ie expected vs actual and stuff like that) for now if it passes I get is that the test passed but no result value, and if it fails I do get the comparison but also a stack trace which makes the output ugly.
This is pretty much my first time ish using vs code so I am not sure how to set it up properly. Maybe I need a pretty vscode extension or crate?
Depending on the language you’re using, your experience is going to vary. A lot of love has gone into the exercism platform to make it friendly. Normal tooling is rarely so enjoyable to use.
If you provide a bit more information on language etc, maybe someone can help advise
If you’re running cargo test, then you’re probably seeing what Rust developers see. Which probably won’t be as pretty laid out as on Exercism, but with practice will be distinguishable. Rust is pretty decent at giving you good error messages - it’s one of the better languages for it. But it’s still going to feel quite esoteric at first. Maybe you could post a screenshot of what you’re seeing, if it feels wrong to you?
Could you provide examples of the test output that is better in browser than in vs code?
The local tests are also the same tests as the ones you see on the website.
When you are solving exercises locally in Rust, you test the same way the vast majority of rust projects test with cargo. I would argue there’s valuable experience there.