Skip to content

Instantly share code, notes, and snippets.

@mkows
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkows/ad0b06738ff6b933f8b0 to your computer and use it in GitHub Desktop.
Save mkows/ad0b06738ff6b933f8b0 to your computer and use it in GitHub Desktop.
scala-spec-min.template
#if ((${PACKAGE_NAME} && ${PACKAGE_NAME} != ""))package ${PACKAGE_NAME} #end
import org.scalatest.concurrent.ScalaFutures
import org.scalatest.{Matchers, WordSpecLike}
class ${NAME} extends WordSpecLike with Matchers with ScalaFutures {
"${NAME}" should {
"" in {
}
}
}
@mkows
Copy link
Author

mkows commented May 12, 2015

Pretty minimal IntelliJ template for Scala Specs

Usage:
IntelliJ Preferences > Editor > File and Code Templates:

Name: Scala Spec
Extension: scala

Depencency:
"org.scalatest" %% "scalatest" % "2.2.4" % "test"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment