From f1e977c9059f3ea5e878188b4339eda0f96df371 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 2 Jan 2024 11:21:22 +0100 Subject: [PATCH] add documentation for re-running tests from command line --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c184591f..dc3290b8 100644 --- a/README.md +++ b/README.md @@ -421,6 +421,21 @@ Underneath of rbac and hs, the structure is business oriented, NOT technical / l Some of these rules are checked with *ArchUnit* unit tests. +### Run Tests from Command Line + +Run all tests which have not yet been passed with the current source code: + +```shell +gw test +``` + +Force running all tests: + +```shell +gw cleanTest test +``` + + ### Spotless Code Formatting Code formatting for Java is checked via *spotless*. @@ -579,7 +594,7 @@ Summary for Debian-based Linux systems: sudo apt-get -y install podman ``` -2Then start it like this: +Then start it like this: ```shell systemctl --user enable --now podman.socket @@ -610,7 +625,7 @@ we need to register a shutdown-hook in the test source code. 2. Now You Can Run the Tests ```shell -gw clean test # gw is from the .aliases file +gw test # gw is from the .aliases file ``` #### Use IntelliJ IDEA Run the Tests Against the Podman Daemon