Top "Scalatest" questions

The Scala testing framework

How can I get complete stacktraces for exceptions thrown in tests when using sbt and testng?

The stacktraces are truncated - e.g. they end with [info] ... Using last or changing traceLevel doesn't help - it …

scala testng sbt scalatest slf4j
Using the "should NOT produce [exception]" syntax in ScalaTest

I'am toying with Specs2 and ScalaTest for BDD in Scala. I've written expectations in Specs2 when I am asserting that …

scala specs scalatest
"Unknown artifact. Not resolved or indexed" error for scalatest

I'm trying to modify the build.sbt file to add scalatest dependencies in IntelliJ IDEA. There's no error log in …

scala maven intellij-idea sbt scalatest
Run ScalaTest tests in parallel

Given the following test suite: class ParallelizeMe extends FunSuite with BeforeAndAfterAll { override def beforeAll() = println("before") override def afterAll() = println("…

scala sbt scalatest
How to run a single test in scalatest from maven

I have not found any documentation on how to do this. For JUnit the equivalent would be: mvn -Dtest=org.…

scala maven scalatest
Not able to import Spark Implicits in ScalaTest

I am writing Test Cases for Spark using ScalaTest. import org.apache.spark.sql.SparkSession import org.scalatest.{BeforeAndAfterAll, FlatSpec} …

scala apache-spark apache-spark-sql implicit scalatest
Testing multiple data sets with ScalaTest

is there any convenient way execute tests on multiple data sets - like in JUnit's parametrized tests?

scala scalatest
How to programmatically ignore/skip tests with ScalaTest?

I am running some tests with ScalaTest which rely on connections to test servers to be present. I currently created …

scala scalatest
SBT Test Error: java.lang.NoSuchMethodError: net.jpountz.lz4.LZ4BlockInputStream

Getting Below exception , when i tried to perform unit tests for my spark streaming code on SBT windows using scalatest. …

scala apache-spark sbt spark-streaming scalatest
Running individual ScalaTest test methods in IntelliJ IDEA

It is possible to run a single, selected JUnit test method in IntelliJ IDEA 12, however this does not seem to …

testing junit intellij-idea scalatest