stryker-mutator / stryker-js

Mutation testing for JavaScript and friends
https://stryker-mutator.io
Apache License 2.0
2.61k stars 250 forks source link

Stryker hangs for long time once ng test started #4459

Open SathyaNagaraj opened 1 year ago

SathyaNagaraj commented 1 year ago

Question Nothing is happening once ng test is started. Its idle for long time. I could not see any warning or error on the screen.

image

Stryker environment

    "karma": "6.4.2",
    "karma-chrome-launcher": "3.1.0",
    "karma-coverage": "2.0.3",
    "karma-html-reporter": "0.2.7",
    "karma-jasmine": "5.1.0",
    "karma-jasmine-html-reporter": "2.0.0",
    "karma-spec-reporter": "0.0.32",

    "@stryker-mutator/karma-runner": "7.1.1",
    "@stryker-mutator/typescript-checker": "7.1.1",

I am using "@angular/cli": "~15.2.0",

I could see mutated files in sandbox.

image

image

I could see blank screen ,once ng test started

image

saranyanandagopal commented 1 month ago

I am facing the same issue, how did you solve this?

nicojs commented 1 month ago

Could you try --logLevel trace? That way you can see the karma output.

saranyanandagopal commented 1 month ago

Yes, I tried that already but I am not seeing anything after the "ng test" command (screen shot below). I am able to run my tests outside of Stryker normally.

image

saranyanandagopal commented 1 month ago

Any other inputs? When I run the "ng test" command from command line separately on the sandbox directory , I can see that things are starting up.