nvim-neotest / neotest-plenary

MIT License
32 stars 11 forks source link

feat: show detailed stacktrace and debugging info when test runner fails #11

Open wookayin opened 9 months ago

wookayin commented 9 months ago

Problem:

When the embedded test runner throws an uncaught exception, (e.g., within plenary.busted.run() or plenary.busted can't be imported) no detailed stacktrace information was printed.

Solution:

Catch lua exception within the test runner and print full stacktrace.

wookayin commented 9 months ago

This is minor addition to #10 -- in situations like #10 no stacktrace information was available.

Preview:

image