It would be very nice to have implementation for running mutation tests for angular2 application build using angular-cli. IMO it doesn't have to be complete implementation. I think docs explaining setup should be very valuable as well.
No interest so far? Even when angular-cli not in beta anymore?
I didn't know that v1 was out, thanks for the heads up! Angular-cli support is something we also want :)
How would you expect to be able to use stryker with the angular-cli?
Any knows how to use stryke or anything mutation testing framework together ngx ?
I've tried the following configure:
// stryker.conf.js
module.exports = function (config) {
config.set({
testRunner: 'karma',
testFramework: 'jasmine', // <-- add your testFramework here
karmaConfigFile: 'karma.conf.js', // <-- add your karma.conf.js file here
mutate: [
'src/**/*.js' // <-- mark files for mutation here
]
});
}
But I've the following error:
29 04 2017 10:56:14.350:ERROR [preprocess]: Can not load "@angular/cli"!
TypeError: Cannot read property '1' of null
karma is running without problem when I runkarma start.
This can be related with the issue https://github.com/stryker-mutator/stryker-karma-runner/issues/19 and the support for preproccessors
How would you expect to be able to use stryker with the angular-cli?
What exactly do you mean? I think he suggested have something like ng test --mutation maybe? I am not sure if it is possible. May be new command?
Hi,
That's a great idea.
The developers should be know that the mutation test would take a long time.
Bye.
El El sáb, 27 may 2017 a las 2:12, Sharikov Vladislav <
[email protected]> escribió:
How would you expect to be able to use stryker with the angular-cli?
What exactly do you mean? I think he suggested have something like ng
test --mutation maybe? I am not sure if it is possible. May be new
command?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stryker-mutator/stryker/issues/239#issuecomment-304412386,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIZj33I6_RSZfCagK411zhfTkiVpznaeks5r92p3gaJpZM4L5gxN
.>
Enviado desde el teléfono móvil, disculpe las faltas.
support for an ng command will not be there in the near future. We do have angular support since we have the webpack transpiler. Please look at https://github.com/nicojs/angular-stryker-example for an example! Closing this for now.
Most helpful comment
No interest so far? Even when
angular-clinot in beta anymore?