I'm trying to integrate Allure reports into a Gradle build. It seems there is no direct support for Gradle overall (all Maven) and only some recent support for TestNG. Digging further I see a number of issues with Gradle not supporting JUnit listeners, but they do support TestNG listeners (because TestNG does). I've tried a gradle integration following the Maven pom as guideline for the JUnit plugin, but it obviously produces no output. So I guess my question is : Will there be any gradle support coming soon or will we have to wait for Gradle to enable some sort of JUNit listener facility first? If none of the above, has anyone done a custom integration ?
1
There are 1 best solutions below
Related Questions in GRADLE
- Gradle. Detect dependencies problems
- Gradle Duplicate Entry
- Creating distribution with repackaged spring boot jar using gradle application plugin
- LinkageError after upgrading dropwizard to 0.8.1
- Android Studio unable to run the project
- Add JVM args to spring boot application
- How do I know what is available in minSdkVersion in Android Studio?
- Gradle: Override transitive dependency by version classifier
- gradle get System environment variables
- Why does Eclipse want to download a previous version of Gradle when I already have a later version installed?
- Gradle project sync failed - Gradle DSL method not found: android()
- Use thymeleaf template for some pages and rest for some for building gradle project
- 'Provided' dependency in Gradle
- Invalid Gradle JDK configuration found
- Does Android Studio use Gradle Daemon?
Related Questions in ALLURE
- How to organize junit test suites using Allure
- Allure: failed to get report for ru.yandex.qat ools.allure:allure-maven-plugin
- How to show variable-length argument list in allure.step?
- Using allure with xUnit
- Junit 4 is not picking up my @Before & @After methods
- Allure and screenshots
- Allure gradle integration
- Allure Framework: how to validate xml, generated by my framework
- Create new annotation in Allure report, e.g. @Release with priority higher than @Feature
- how to use @step annotation for lambda expression in allure-junit-adaptor
- How to debug Maven plugin?
- Blank Allure report
- Allure reports. Load english version by default
- Allure report with robotframework is showing html file without the test run results
- Allure report + TestNG + Maven failsafe plugin integration
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Allure TestNG Gradle example here https://github.com/allure-examples/allure-gradle-testng-example
It's works because TestNG supports Java SPI for adding test listeners. But JUnit does't have such feature. You can check out the following PR to JUnit https://github.com/junit-team/junit/pull/923
If you need Gradle support for JUnit right now you can try to implement Gradle Test Listener (http://www.gradle.org/docs/current/javadoc/org/gradle/api/tasks/testing/TestListener.html)
Hope it helps