Skip to content
Permalink
Browse files

Removed passed tests from log

  • Loading branch information...
sksamuel committed Sep 4, 2019
1 parent c702bde commit f0d03b5382efc269b13190d39e1719cde14dd8a4
@@ -249,7 +249,7 @@ You can additionally enable extra test logging:
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
}
}
```
@@ -77,7 +77,7 @@ jvmTest {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}
@@ -46,7 +46,7 @@ compileKotlinJvm {
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
}
}

@@ -44,7 +44,7 @@ compileKotlinJvm {
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
}
}

@@ -42,7 +42,7 @@ compileKotlinJvm {
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
}
}

@@ -46,7 +46,7 @@ compileKotlinJvm {
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
}
}

@@ -41,7 +41,7 @@ compileKotlinJvm {
test {
useJUnitPlatform()
testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
}
}

@@ -51,7 +51,7 @@ test {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
}
}

@@ -56,7 +56,7 @@ test {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}
@@ -1,68 +1,73 @@
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
repositories {
mavenCentral()
mavenLocal()
}
}

plugins {
id 'java'
id 'org.jetbrains.kotlin.multiplatform'
id 'java-library'
id 'maven-publish'
id 'java'
id 'org.jetbrains.kotlin.multiplatform'
id 'java-library'
id 'maven-publish'
}

repositories {
mavenCentral()
mavenCentral()
}

kotlin {

jvm()
jvm()

sourceSets {
sourceSets {

jvmTest {
dependencies {
implementation project(':kotlintest-core')
implementation project(':kotlintest-assertions')
// we use the internals of the JVM project in the tests
implementation project(':kotlintest-runner:kotlintest-runner-jvm')
implementation project(':kotlintest-runner:kotlintest-runner-junit5')
implementation project(':kotlintest-assertions:kotlintest-assertions-arrow')
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion"
implementation "com.nhaarman:mockito-kotlin:1.6.0"
implementation 'org.mockito:mockito-core:2.24.0'
// this is here to test that the intellij marker 'dummy' test doesn't appear in intellij
implementation "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
implementation "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
implementation "org.junit.platform:junit-platform-engine:$JUnitPlatformVersion"
implementation "org.junit.platform:junit-platform-suite-api:$JUnitPlatformVersion"
implementation "org.junit.platform:junit-platform-launcher:$JUnitPlatformVersion"
}
}
}
commonTest {
dependencies {
implementation project(':kotlintest-core')
}
}

jvmTest {
dependencies {
implementation project(':kotlintest-assertions')
// we use the internals of the JVM project in the tests
implementation project(':kotlintest-runner:kotlintest-runner-jvm')
implementation project(':kotlintest-runner:kotlintest-runner-junit5')
implementation project(':kotlintest-assertions:kotlintest-assertions-arrow')
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion"
implementation "com.nhaarman:mockito-kotlin:1.6.0"
implementation 'org.mockito:mockito-core:2.24.0'
// this is here to test that the intellij marker 'dummy' test doesn't appear in intellij
implementation "org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion"
implementation "org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion"
implementation "org.junit.platform:junit-platform-engine:$JUnitPlatformVersion"
implementation "org.junit.platform:junit-platform-suite-api:$JUnitPlatformVersion"
implementation "org.junit.platform:junit-platform-launcher:$JUnitPlatformVersion"
}
}
}
}

compileKotlinJvm {
kotlinOptions {
freeCompilerArgs += '-Xuse-experimental=kotlin.Experimental'
}
kotlinOptions {
freeCompilerArgs += '-Xuse-experimental=kotlin.Experimental'
}
}

jvmTest {
useJUnitPlatform()
useJUnitPlatform()

// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true
// show standard out and standard error of the test JVM(s) on the console
testLogging.showStandardStreams = true

// Always run tests, even when nothing changed.
dependsOn 'cleanTest'
// Always run tests, even when nothing changed.
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
testLogging {
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}

publish.enabled = false
@@ -50,7 +50,7 @@ test {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}
@@ -47,7 +47,7 @@ test {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}
@@ -53,7 +53,7 @@ test {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}
@@ -51,7 +51,7 @@ test {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}
@@ -53,7 +53,7 @@ test {
dependsOn 'cleanTest'

testLogging {
events "PASSED", "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
events "FAILED", "SKIPPED", "STANDARD_OUT", "STANDARD_ERROR"
exceptionFormat = 'full'
}
}

0 comments on commit f0d03b5

Please sign in to comment.
You can’t perform that action at this time.