mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
248a7d97d9
Updates the testing infrastructure to use the latest relesae of junit and leverages the new extension mechanism to create an easy to use testing framework. Also adds additional test coverage for several plugins.
19 lines
838 B
Groovy
19 lines
838 B
Groovy
apply plugin: 'java-library'
|
|
apply plugin: 'org.jetbrains.kotlin.jvm'
|
|
|
|
dependencies {
|
|
api project(':game')
|
|
api project(':net')
|
|
|
|
// JUnit Jupiter API and TestEngine implementation
|
|
api("org.junit.jupiter:junit-jupiter-api:${junitJupiterVersion}")
|
|
api("org.junit.jupiter:junit-jupiter-params:${junitJupiterVersion}")
|
|
implementation("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
|
|
implementation("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}")
|
|
|
|
api group: 'io.mockk', name: 'mockk', version: mockkVersion
|
|
api group: 'org.assertj', name: 'assertj-core', version: assertjVersion
|
|
api group: 'com.willowtreeapps.assertk', name: 'assertk', version: assertkVersion
|
|
|
|
implementation group: 'org.powermock', name: 'powermock-module-junit4', version: powermockVersion
|
|
} |