Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Support for karma preprocessors #19

Open
nicojs opened this issue Mar 1, 2017 · 7 comments
Open

Support for karma preprocessors #19

nicojs opened this issue Mar 1, 2017 · 7 comments

Comments

@nicojs
Copy link
Member

nicojs commented Mar 1, 2017

In order to support things like karma preprocessors we should run child processes from their respective sandbox folder. I tested stryker with a karma preprocessor here: https://github.com/nicojs/karma-preprocessor-stryker-test and it doesn't work.

@simondel
Copy link
Member

simondel commented Mar 1, 2017

Fixed with #19. When do you want to release this @nicojs?

@nicojs
Copy link
Member Author

nicojs commented Mar 1, 2017

Yes please :)

@nicojs
Copy link
Member Author

nicojs commented Mar 1, 2017

@zxxc we just released 0.3.5 of stryker-karma-runner, can you confirms this fixes the issue for you?

@chrabia
Copy link

chrabia commented Mar 31, 2017

Hello,
could you please explain how to set up karma and preprocessors in grunt file (without using stryker.conf.js)? Some simple example would be nice.

@zxxc
Copy link

zxxc commented Mar 31, 2017

@nicojs no, issue is reproduced. i was trying to use preprocessors from karma.conf.js

@tonivj5
Copy link

tonivj5 commented Apr 29, 2017

I have the same propblem when I try to use the @angular/cli preproccessor

@tgold007596
Copy link

We have a project running Closure framework, we added Jasmine for testing and Karma as a test runner, now we are trying to integrate Stryker for mutation testing, we are facing difficulties integrating it, it cannot read and locate the tests,
Stryker has open issues since 2017 that it doesn't execute Karma preprocessors.
In our project, Karma cannot run without preprocessors, because the project depends on google-closure-library.
I tried to update the Karma version from 0.1 to 5.0 but the issue still happens.
I also tried to execute Karma with the compiled files but it didn't work either

If you can help me and my team to solve this issue I will appreciate it very much.

Thanks,
Tal Goldberg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants