From 7fffb86246f9ef8ca005cbd6c06fda9da9846e1f Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Thu, 6 Jul 2023 11:19:49 +0200 Subject: [PATCH] Document testQuick in welcome screen --- README.md | 1 + project/PekkoBuild.scala | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 587f505aba..c506099219 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ See https://pekko.apache.org for the documentation including the API docs. The d - `sbt compile` compiles the main source for project default version of Scala (2.13) - `sbt +compile` will compile for all supported versions of Scala - `sbt test` will compile the code and run the unit tests +- `sbt testQuick` similar to test but when repeated in shell mode will only run failing tests - `sbt package` will build the jars - the jars will built into target dirs of the various modules - for the the 'actor' module, the jar will be built to `actor/target/scala-2.13/` diff --git a/project/PekkoBuild.scala b/project/PekkoBuild.scala index 1a6bd1c7b8..7b6a0181f8 100644 --- a/project/PekkoBuild.scala +++ b/project/PekkoBuild.scala @@ -286,8 +286,12 @@ object PekkoBuild { logoColor := scala.Console.BLUE, usefulTasks := Seq( UsefulTask("", "compile", "Compile the current project"), - UsefulTask("", "test", "Run all the tests "), + UsefulTask("", "test", "Run all the tests"), + UsefulTask("", "testQuick", + "Runs all the tests. When run multiple times will only run previously failing tests (shell mode only)"), UsefulTask("", "testOnly *.AnySpec", "Only run a selected test"), + UsefulTask("", "testQuick *.AnySpec", + "Only run a selected test. When run multiple times will only run previously failing tests (shell mode only)"), UsefulTask("", "publishLocal", "Publish current snapshot version to local ~/.ivy2 repo"), UsefulTask("", "verifyCodeStyle", "Verify code style"), UsefulTask("", "applyCodeStyle", "Apply code style"),