Skip to content

Commit

Permalink
add test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
lombardo-chcg committed Aug 27, 2017
1 parent 75769ae commit 1480d64
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Expand Up @@ -5,3 +5,7 @@ version := "0.0.1"
mainClass in assembly := Some("com.lombardo.app.Main")

scalaVersion := "2.12.1"

libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
)
9 changes: 9 additions & 0 deletions src/test/scala/com/lombardo/app/SampleTest.scala
@@ -0,0 +1,9 @@
package com.lombardo.app

import org.scalatest.{FlatSpec, Matchers}

class SampleTest extends FlatSpec with Matchers {
it should "run a sample test" in {
7 + 9 should be(16)
}
}

0 comments on commit 1480d64

Please sign in to comment.