Comments (4)
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.
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?
Thanks much.
from sonar-gherkin-plugin.
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.
@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)
- New rule: All features should be written in the same language HOT 1
- New rule: Features should be written in the same language
- Support ``` as DocString prefix/suffix
- Feature files not picked up HOT 3
- Support scenarios with two 'Examples' sections HOT 2
- False positive when a variable is used inside a table HOT 1
- Change 'allowed-tags' rule parameter from a comma-separated list to a regular expression HOT 2
- Metrics in SonarQube 6.6 HOT 2
- Make the plugin compatible with SonarQube 6.7
- FP on rule unused-variable: Variable in doc string not recognized HOT 3
- Check that .feature files exist in the project HOT 4
- Plugin not working when used with SonarCloud HOT 4
- add sonarlint supported config prop HOT 2
- false-positive when pystring contains '<...>' HOT 3
- False positive on Common Given steps should be added to Background HOT 2
- Cucumber Gherkin plugin fails with JAXBException (SQ 7.9.1, JRE 11) HOT 2
- Error during SonarQube Scanner execution : java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException HOT 1
- New Release HOT 2
- No issues raised against gherkin cutom rules HOT 1
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 sonar-gherkin-plugin.