Skip to content

Commit

Permalink
More failure info
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed Jan 22, 2024
1 parent 2ec33d8 commit e18a759
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class BufferReaderTest {
@Test
fun `Read byte`() {
//Given
packet(2, -2)
packet(1, -2)
//Then
assertEquals(2, buffer.readByte())
assertEquals(-2, buffer.readByte())
Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.gradle.api.tasks.testing.logging.TestExceptionFormat

buildscript {
dependencies {
classpath(kotlin("gradle-plugin", version = "1.8.21"))
Expand Down Expand Up @@ -42,12 +44,12 @@ allprojects {
}
if (name != "game") {
tasks.test {
minHeapSize = "512m"
maxHeapSize = "4096m"
useJUnitPlatform()
failFast = true
testLogging {
events("passed", "skipped", "failed")
exceptionFormat = TestExceptionFormat.FULL
}
}
}
Expand Down

0 comments on commit e18a759

Please sign in to comment.