For existing code one can easily create a ScalaTest with Cmd+Shift+T. But for starting with the test the Scala plugin provides no template. I created following template for myself based on the Scala Class template:
#if ((${PACKAGE_NAME} && ${PACKAGE_NAME} != “”))package ${PACKAGE_NAME}
#end
#parse(“File Header.java”)import org.scalatest.FunSuite
class ${NAME}Suite extends FunSuite {
}
Advertisements
I can’t make this work… Can you provide more detail? 🙂
At which step do you have issues?