Node Driver Networks¶
The corda-testacles-nodedriver
module provides two ways to launch a complete Corda network
based on the Corda Node Driver:
NodeDriverNetworkExtension
: a convenient JUnit5 extensionNodeDriverHelper
: a helper that can be used directly in your tests in conjunction with JUnit5’s@BeforeAll
and@AfterAll
annotations.
Gradle Setup¶
Add the module dependency to your Gradle build:
dependencies {
//...
// Add Corda Testacles Testcontainers
testImplementation("com.github.manosbatsis.corda.testacles:corda-testacles-nodedriver:$testacles_version")
// Add JUnit etc.
}