Browse Source

Exclude generated files (#10603)

Gregor Zeitlinger 1 year ago
parent
commit
cd5c4ad92f
2 changed files with 7 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 6 0
      docs/contributing/running-tests.md

+ 1 - 0
.gitignore

@@ -9,6 +9,7 @@ target
 !**/gradle/wrapper/*
 .gradle
 **/build/
+**/generated/
 examples/**/build/
 
 # Eclipse #

+ 6 - 0
docs/contributing/running-tests.md

@@ -55,6 +55,12 @@ If you are on Windows and you want to run the tests using linux containers:
 USE_LINUX_CONTAINERS=1 ./gradlew :smoke-tests:test -PsmokeTestSuite=payara
 ```
 
+If you want to run a specific smoke test:
+
+```
+./gradlew :smoke-tests:test --tests '*SpringBootSmokeTest*'
+```
+
 # Smoke OpenTelemetry starter tests
 
 Smoke tests for the [OpenTelemetry Spring starter](../../instrumentation/spring/starters/spring-boot-starter/README.md).