java - IDEA Play 2.4 junit test without full sbt build -
i want run junit tests play 2.4 application within intellij idea 14.1.4 leverage full junit integration.
the tests executed fine when create new junit run configuration. on every test run full sbt build executed delaying tests around 30 seconds. 
if remove make form pre-launch steps in junit run configuration tests executed directly without full sbt build code changes in test , application code not picked idea. when play running auto-compile on file changes idea doesn't pick them tests.
edit 07/09/2015
i've exchanged make sbt action test:compile opens sbt console loading project , stops prompt. it's not executing action test:compile , therefore not starting test @ all.
what have change in run configuration and/or project settings fast , seamless junit integration play projects in idea?
finally found answer myself when digging through issue tickets of idea-sbt-plugin.
exchanging pre launch step make sbt action test:compile right way go. sbt plugin expects default sbt shellpromt >. play projects define own custom promt [projectname] $.
i had add following line build.sbt sbt action work.
shellprompt := (_ => "> ")
Comments
Post a Comment