From b19c8afb4185fd2c8e279706a55982f925c00e89 Mon Sep 17 00:00:00 2001 From: Geert Bevin Date: Sun, 12 Feb 2023 11:49:33 -0500 Subject: [PATCH] Updated readme --- README.md | 6 ++++++ app/build.gradle.kts | 14 ++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4cbc969..83d751c 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ in a very iterative, intuitive and rewarding way. For all things RIFE2, head on to the project website: [https://rife2.com](https://rife2.com) +## Run the tests + +```bash +./gradlew clean test +``` + ## Running the server ```bash diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e14eb80..dc28640 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,10 +1,5 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * This generated file contains a sample Java application project to get you started. - * For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle - * User Manual available at https://docs.gradle.org/7.6/userguide/building_java_projects.html - */ +import org.gradle.api.tasks.testing.logging.TestExceptionFormat +import org.gradle.api.tasks.testing.logging.TestLogEvent plugins { // Apply the application plugin to add support for building a CLI application in Java. @@ -49,8 +44,11 @@ application { tasks { named("test") { - // Use JUnit Platform for unit tests. useJUnitPlatform() + testLogging { + exceptionFormat = TestExceptionFormat.FULL + events = setOf(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED) + } } // Pre-compile the RIFE2 templates to bytecode for deployment