Closed tonsky closed 11 months ago
I want to mention here that current solution based on stacktrace element filtering is not a good idea to solve this. E.g. if I use orchestra in my code I don’t want it to be filtered out, but I do want the part of the stacktrace related to kaocha use of orchestra to be filtered out. Same goes for clojure.core
What I think implementation should look like:
I've found this to be a pain point as well. Would you welcome a PR using @tonsky's proposed approach? If so, any tips on where to look for the stack trace output?
Made a stab at this https://github.com/lambdaisland/kaocha/pull/321
When test blows up with unexpected exception:
Here anything starting with
kaocha.
,clojure.main
andorchestra.
is not informative and actually obscures interesting parts of test output. Maybe filter them out by default?