Running a single scripted test script (instead of all)

76 views
Skip to first unread message

Galder Zamarreño

unread,
Dec 21, 2012, 6:30:58 AM12/21/12
to simple-b...@googlegroups.com
Hi,

Is it possible to run a single 'scripted' test script from the SBT console?

For example, I have: src/sbt-test/a, src/sbt-test/b, src/sbt-test/c

And I want to test only 'c'.

I've tried: `scripted c` but i throws:

scala.MatchError: [Ljava.lang.String;@4bf0c8d4 (of class [Ljava.lang.String;)
at sbt.test.ScriptedTests$$anonfun$parseTests$1.apply(ScriptedTests.scala:123)

Any other ideas? 

Galder Zamarreño

unread,
Dec 21, 2012, 7:02:35 AM12/21/12
to simple-b...@googlegroups.com
Oh, found it, you need to have a folder above and then the test:

src/sbt-test/boo/a

can be executed with:

scripted boo/a
Reply all
Reply to author
Forward
0 new messages