ActorTestKit overhaul, #24598

* composition is the basic building block for ActorTestKit
* ActorTestKitWordSpec for integration with ScalaTest
  (automatic shutdown)

* Use ActorTestKitWordSpec in our own tests

* doc TestException
This commit is contained in:
Patrik Nordwall 2018-09-07 16:08:24 +02:00
parent ffc08d0b7a
commit b16e4d5e4d
78 changed files with 921 additions and 602 deletions

View file

@ -132,6 +132,9 @@ object Dependencies {
val junit = Compile.junit % "optional;provided;test"
val scalatest = Def.setting { "org.scalatest" %% "scalatest" % scalaTestVersion.value % "optional;provided;test" } // ApacheV2
}
}
@ -147,7 +150,7 @@ object Dependencies {
val actorTests = l ++= Seq(Test.junit, Test.scalatest.value, Test.commonsCodec, Test.commonsMath,
Test.mockito, Test.scalacheck.value, Test.jimfs)
val actorTestkitTyped = l ++= Seq(Provided.junit)
val actorTestkitTyped = l ++= Seq(Provided.junit, Provided.scalatest.value)
val remote = l ++= Seq(netty, aeronDriver, aeronClient, Test.junit, Test.scalatest.value, Test.jimfs)