11

I have 5 scripted tests to test my sbt plugin. All of them take long to run. I sometimes want to run just one of the tests.

Is it possible to specify to scripted which test to run?

marios
  • 8,874
  • 3
  • 38
  • 62

1 Answers1

19

You can pass the path of the test as an argument to the scripted command.

For example, to run a test in <project>/src/sbt-test/foo/bar, run scripted foo/bar from sbt:

> scripted foo/bar
earldouglas
  • 13,265
  • 5
  • 41
  • 50