1
我想運行使用由Serenity-BDD框架提供的'WithTagValuesOf'註釋的特定junit測試。如何使用SerenityRunner和Gradle運行使用'WithTagValuesOf'註釋的特定測試
基礎上寧靜的教程,我能找到相同的Maven作爲:
mvn clean verify -Dtags="release:sprint-2"
但我試圖找到搖籃類似的方法。對於前:以上
gradle clean test --tests -Dtags="Test-Type:Smoke" aggregate
給了我以下錯誤:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> No tests found for given includes: [tags=Test-Type:Smoke]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
有人可以幫我這個?