Coder Social home page Coder Social logo

Comments (4)

racodond avatar racodond commented on August 27, 2024

Hi @builderall,

Could you please detail a bit your needs or your issue? Because Gherkin code can be analyzed as any other language, see https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Maven.

I'm not against providing a sample project but I need to know what prevents you from properly and easily analyzing your Gherkin code. So that I can provide an example that brings some added value to the SonarQube documentation.

Thanks

David

from sonar-gherkin-plugin.

builderall avatar builderall commented on August 27, 2024

Hi,

can you please add a single feature to this, and give maven snippet. I am getting
error as soon as I invoke:

mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install -Pcoverage-per-test

Results :
Tests in error:
Looks like several tests executed in parallel in the same JVM, thus coverage per test can't be recorded correctly.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

Also, do I need to add any other dependency or defines gherkin language as a property to publish them to sonar?

source:
https://github.com/SonarSource/sonar-examples/tree/master/projects/languages/java/code-coverage/ut/ut-maven-jacoco

Thanks much.

from sonar-gherkin-plugin.

racodond avatar racodond commented on August 27, 2024

Hi,

Could you please describe what you are trying tout achieve? Your example is about code coverage with JaCoCo. Do you generate à JaCoCo report on your own project? Are you interested in getting issues on your Gherkin code or are you interested in code coverage by your Gherkin feature files?

Thanks

David

from sonar-gherkin-plugin.

racodond avatar racodond commented on August 27, 2024

@builderall You might be interested in https://github.com/racodond/sonar-gherkin-plugin#maven
I'm closing the issue. Feel free to comment if you still face some issues while analyzing your Gherkin code.

from sonar-gherkin-plugin.

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.