Skip to content

Instantly share code, notes, and snippets.

@xuwei-k xuwei-k/testEach.sbt
Created Aug 12, 2014

Embed
What would you like to do?
commands += Command.command("testEach"){ state =>
val analysis = Project.extract(state).runTask(compile in Test, state)._2
val testNames = Tests.allDefs(analysis).collect{ case c: xsbti.api.ClassLike => c.name }
testNames.sorted.map("test-only " + _) ::: state
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.