Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SBT Plugins: Is it possible to run scripted for a single test instead of running all tests?

Tags:

sbt

sbt-plugin

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?

like image 408
marios Avatar asked Feb 17 '17 23:02

marios


1 Answers

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
like image 180
earldouglas Avatar answered Oct 05 '22 09:10

earldouglas