trait MultiNodeSpecCallbacks extends AnyRef
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 WordSpecLike with MustMatchers with BeforeAndAfterAll { override def beforeAll() = multiNodeSpecBeforeAll() override def afterAll() = multiNodeSpecAfterAll() }
- Source
- MultiNodeSpec.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- MultiNodeSpecCallbacks
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
multiNodeSpecAfterAll(): Unit
Call this after the all test cases have run.
Call this after the all test cases have run. NOT after every test case.
-
abstract
def
multiNodeSpecBeforeAll(): Unit
Call this before the start of the test run.
Call this before the start of the test run. NOT before every test case.