Questions tagged [stryker]

Stryker is a mutation testing framework for JavaScript, .NET and Scala.

Stryker is a mutation testing framework for JavaScript, .NET and Scala.

26 questions
1
vote
1 answer

Stryker/Angular6: Remove mutants from standard @Component on template application

I have created a basic template application with Angular 6 and I am trying to get Stryker Mutation testing working on it. On a basic home page: import { Component } from '@angular/core'; /** * Home Page Definition */ @Component({ selector:…
Steven Scott
  • 10,234
  • 9
  • 69
  • 117
0
votes
0 answers

Why Does Stryker Fail To Run For This TypeScript Express Project?

I have a public repo here that is a simple ExpressJS NodeJs project in TypeScript which uses Jest for unit tests. When I run npx stryker run --fileLogLevel trace --logLevel debug though I get this output and error: 16:23:03 (41154) INFO ConfigReader…
Jim
  • 3,821
  • 1
  • 28
  • 60
0
votes
0 answers

Stryker Mutation test fails when debug statement is added in c# method

Stryker fails to run any test cases under a xunit test class when debug statement is included in the code block. I have a few test cases covering the below method. Stryker fails to run those tests and also other tests available for other methods in…
IamChandu
  • 355
  • 6
  • 18
0
votes
0 answers

Getting errors while trying to run stryker

Got the following error while trying to run stryker: Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration. By default "node_modules" folder is ignored by…
ptjr
  • 11
  • 2
0
votes
0 answers

Stryker | ChildProcessCrashedError: Child process [pid 12922] exited unexpectedly with exit code 1 (without signal)

Below are the Version Details Node - 16.7.1 Jest - 26.6.0 babel-cli - 7.0.0-beta.3 Stryker config file { "$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json", "testRunner": "jest", "reporters": [ "progress", …
SKADIN
  • 535
  • 1
  • 6
  • 14
0
votes
1 answer

The point of Stryket.Net since.ignore-changes-in config

Stryker-net has an option since.ignore-changes-in and I'm trying to understand in which use case it may be useful to ignore non C# files 1. The doc gives that example of value ['/*Assets.json','/favicon.ico'], but if my last commit changes only…
gturri
  • 13,807
  • 9
  • 40
  • 57
0
votes
1 answer

Unable to install Dotnet Stryker

I have tried the below commands to install dotnet stryker to my project to improve the mutation testing but getting below error message and it does not allow me to install the tool. Could you please help on this. Thanks in advance PS C:\Users>…
0
votes
1 answer

mutation fails on initial test run with jest runner

i'm using strykerjs 5.6.0 with jest runner and react-testing-library. When I run the coverage with jest, all my test pass correctly, but when i run the mutation command (pointing to the same jest config file) i'm getting an error on initial test…
txomin
  • 177
  • 2
  • 3
  • 15
0
votes
2 answers

Stryker initial run times out

Running simply "stryker run", mutations are being created and everything seems to run smoothly, until i receive the error that the dry run failed: 22:19:29 (12628) DEBUG JestTestRunner Running jest with --findRelatedTests flag. Set…
Alex Vulchev
  • 201
  • 1
  • 2
  • 15
0
votes
1 answer

Stryker Mutation testing setup in Windows is not running tests

I am using Stryker for Mutation testing in React Application When I Run the command npx stryker run I am getting the following error I am able to generate a Stryker report but when I update the test cases unable to generate the updated report. $…
Teja
  • 25
  • 9
0
votes
1 answer

Stryker can't find .csproj file even though it's passed in command

When I try to run Stryker with the below command it fails saying it can't find a .csproj file. The file exists at the configured location though: C:\Users\Me\Documents\git\my_pkg>dotnet stryker --solution-path ".\My.Project.sln" --test-runner…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
1
2