Giter Site home page Giter Site logo

Comments (3)

kazurayam avatar kazurayam commented on June 12, 2024 3

I followed the official document for a project that uses Gradle + Junit5 + Allure.

https://docs.qameta.io/allure/#_junit_5

This tells that all I should do is 2 steps:

  1. $ gradle clean test
  2. $ ./gradlew allureServe

When I did it, I got an error

$ ./gradlew allureServe

> Task :allureServe
Cannot find allure commanline in /Users/kazuakiurayama/github/materialstore/.allure/allure-2.15.0

I happened to find this issue, and I did

$ ./gradlew downloadAllure

Then the error is fixed. I could see the Report.


I think that the official document should be revised, should mension "./gradlew downloadAllure"; so that the case of Cannot find allure commandline is prevented.

from allure-gradle.

anemonetea avatar anemonetea commented on June 12, 2024

I had the same issue, even with the version <= 2.7.0. Had to specify the downloadLink in the allure task for it to work.

from allure-gradle.

vinogradoff avatar vinogradoff commented on June 12, 2024

@tir38
probably some problems with download of allure cli.
You can run ./gradlew downlodAllure --info to get detailed info on why it happened.

from allure-gradle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.