limit error stack lines in SBT

33 views
Skip to first unread message

Tim Cuthbertson

unread,
May 30, 2011, 1:22:41 AM5/30/11
to specs-users
sbt allows you to run e.g "trace 5" to limit the number of lines
printed per stack trace to the first 5 lines. But this doesn't affect
specs error trace output (it seems to be printed using the [error]
logger).

Is there a way to have this setting affect specs, or alternatively to
provide a similar setting to specs?

etorreborre

unread,
May 30, 2011, 2:50:49 AM5/30/11
to specs-users
Hi Tim,

There is no such thing in specs. However there is something in specs2
(http://specs2.org) which may be of interest to you:

http://etorreborre.github.com/specs2/guide/org.specs2.guide.Runners.html#StackTraceFilter

That might be a good reason for you to migrate :-)! (I can give you a
hand if you have any issue in the process).

Cheers,

Eric.
Reply all
Reply to author
Forward
0 new messages