Comments (3)
We have noticed the same behaviour, where tests are being run when requesting the assemble
task.
After discussing with @vlsi on the gradle community slack, it appears this is related to gradle/gradle#6875, as allure results are attached to the build as an artifact.
@benjamindibonasonos Could you verify that you also see those tests executed if you run ./gradlew assemble
?
from allure-gradle.
If you need to configure allure for certain tasks only, I would suggest the following:
allure {
adapter {
// Disable automatic configuration
autoconfigure.set(false)
// Gather report data from test task only
gatherResultsFrom(tasks.test)
addAspectjTo(tasks.test)
}
}
However, it might be worth adding a slightly better DSL instead of gatherResultsFrom
and addAspectjTo
.
from allure-gradle.
We have noticed the same behaviour, where tests are being run when requesting the
assemble
task. After discussing with @vlsi on the gradle community slack, it appears this is related to gradle/gradle#6875, as allure results are attached to the build as an artifact.@benjamindibonasonos Could you verify that you also see those tests executed if you run
./gradlew assemble
?
@NielsDoucet I can confirm that these tests are executed with the "assemble" task.
./gradlew assemble --console=plain
> Task :bootBuildInfo
> Task :compileJava UP-TO-DATE
> Task :processResources
> Task :classes
> Task :bootJarMainClassName
> Task :bootJar
> Task :compileFunctionalTestJava
> Task :processFunctionalTestResources UP-TO-DATE
> Task :functionalTestClasses
> Task :functionalTest
from allure-gradle.
Related Issues (20)
- allureServe/allureReport task failing after the second run if category.json is saved under test/resources
- Allure result json doesn't contain any indication of group annotation when running a test which is executed as gradle task
- Invalid output property causes Gradle build cache miss
- Add support for Spock2 HOT 4
- Last version of Allure plugin (gradle) does not work properly HOT 4
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. HOT 1
- Add option to generate a single-file report via Gradle task HOT 1
- Configuration cache: Cannot set the value of a property of type [...].Configuration using a provider of type [...].DefaultFileCollectionFactory$ResolvingFileCollection
- spi-off transformer should be disabled in case autoconfigure=false
- Able use custom java sdk HOT 2
- No reports are generated when using latest Allure version (2.16.1) HOT 3
- Allure commandline is downloaded into `build/allure` folder, but previously it was donwloaded into `.allure` folder in the project root HOT 1
- Issue integrating allure-plugin into build-conventions HOT 1
- Allure does not work together with reckon plugin HOT 2
- Aspectj dumps ajcore.txt files when applying allure-gradle plugin in project with spring-boot HOT 12
- Allure reports not generating after upgrading allure version from 2.8.1 to 2.9.4 HOT 2
- Example for report aggregation? HOT 1
- ClassCastException with Gradle 7.5-milestone-1 HOT 11
- Ignoring Aspectj version in allureAspectjWeaverAgent and allure extension without explicit implementation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure-gradle.