Comments (6)
I think we'll need to change our API to allow you to choose where you want to save your report. Perhaps we could add a property to the StrykerOptions
of type any
or something similar so it's generic. We'll also have to specify our SonarQube connection somewhere. grunt-sonar-runner does this in your Gruntfile. I'm not a big fan of saving credentials in a config because you may accidentally commit it. What do you think?
from stryker-js.
The StrykerOptions
already has custom config of type any
. We could do the same thing as stryker-html-reporter
does and read options like this:
if (this.options['sonarReporter'] && this.options['sonarReporter']['username']) {
}
If we cannot think of sane defaults, we should throw an error early (before mutation testing).
We'll also have to specify our SonarQube connection somewhere. grunt-sonar-runner does this in your Gruntfile
You mean that the Sonar Qube plugin java (or scala?) application needs to do that? If i read my original issue from April 1st, that would be the case correct? Is it still up-to-date? Either way i'm not a fan of this either. We should use environment variables for it, with maybe a fallback to configuration.
from stryker-js.
Can we close this issue, now that we have the stryker-mutator/sonar-stryker-plugin?
from stryker-js.
Not sure if this is a mistake or not, but in the readme.md at step 4 it states that you have to 'move the jar to the downloads folder of your sonar qube instance (for example: /sonarqube-6.2/extensions/downloads)'.
Shouldn't downloads be plugins (I remember it to be plugins)?
from stryker-js.
I think sonar takes it from the downloads folder and puts it in the plugins folder
from stryker-js.
@philippw Yes, we can! 👍
from stryker-js.
Related Issues (20)
- JSON reporter is missing on plugins page in StrykerJS docs
- Error: No tests were executed when using aliased signal inputs in an Angular 17 application HOT 4
- Same configuration in different react apps is causing failure in mutation tests at all or finds just few tests HOT 5
- Broken typescript config when using `extends`. HOT 1
- Stryker Run From Source IDE Integration HOT 2
- mochaOptions is not recognised as a Stryker option when mocha-runner is installed HOT 1
- Instrument run only
- Does stryker.js have a feature to take advantage of Jest sharding?
- Example of a Unary operator mutator?
- Stryker run fails with "UnexpectedToken" error
- Clear-text and progress report not getting generated
- Enable parallelization for @stryker-mutator/jest-runner plugin HOT 1
- Can't use Explicit Resource Management HOT 2
- Different scores at each run in Angular 17 project
- export before class decorator breaks stryker
- Is this project still maintained? HOT 1
- Urgent <> Unable to get any mutation score and stryker is skipping all run - Stryker dot net HOT 1
- `@stryker-mutator/mocha-runner` incompatible with Mocha v10.5.2 HOT 1
- expressionMutantPlacer could not place mutants with type(s): "MethodExpression"
- Incremental file saved incrementally during execution rather than whole thing at the end
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 stryker-js.