Closed
Description
openedon Jun 12, 2023
Describe the bug
When invoking the terminal (:
) while in :dev
mode, the options to set the test pattern
for includes and excludes don't seem to work (anymore).
Maybe I'm missing something but I don't seem to be able to include and exclude patterns once the dev mode has been started.
Example:
:
$ test pattern exclude .*UITest
java.lang.NullPointerException: Cannot invoke "java.util.regex.Pattern.pattern()" because "testSupport.include" is null
If I look into the source code of io.quarkus.deployment.dev.testing.TestSupport
, then indeed include
and exclude
are null
.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
- Have a project with different test naming strategies (e.g.
...Test
,...UITest
,...APITest
). - Run
mvn quarkus:dev
- Start the terminal (
:
) - Try to set the exclude and include patterns (maybe multiple times)
Output of uname -a
or ver
Linux squarelinux 6.1.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 18 Jan 2023 19:54:38 +0000 x86_64 GNU/Linux
Output of java -version
OpenJDK Runtime Environment Temurin-18.0.1+10 (build 18.0.1+10)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.1.1.Final
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.8.6
Additional information
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment