How to get logging working in scala unit tests with testng, slf4s, and logback
问题 I'm new to Scala, and not that familiar with recent developments in Java, so I am having what I assume is a basic problem. I'm writing some Scala code, and testing it with test fixtures using ScalaTest and TestNG. The code under test uses slf4s to perform its logging, backed by logback. In my 'build.sbt' file I have dependencies for all the libraries I need: scalaVersion := "2.9.1" // Add test dependencies on scalatest and testng libraryDependencies ++= Seq("org.scalatest" %% "scalatest" % "1