MultiNodeSpecCallbacks
org.apache.pekko.remote.testkit.MultiNodeSpecCallbacks
trait MultiNodeSpecCallbacks
Use this to hook MultiNodeSpec into your test framework lifecycle, either by having your test extend MultiNodeSpec and call these methods or by creating a trait that calls them and then mixing that trait with your test together with MultiNodeSpec.
Example trait for MultiNodeSpec with ScalaTest
trait STMultiNodeSpec extends MultiNodeSpecCallbacks with AnyWordSpecLike with Matchers with BeforeAndAfterAll {
override def beforeAll() = multiNodeSpecBeforeAll()
override def afterAll() = multiNodeSpecAfterAll()
}
Attributes
- Source
- MultiNodeSpec.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MultiNodeSpec
Members list
In this article