Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Max Harris
    @maxharris9
    This message was deleted
    Maarten Mulders
    @mthmulders
    @MrCappuccino
    @aerial Stryker should run your (unit) test files. Then it will start doing mutations on the source files and see whether any test fails due to that. So it runs your unit tests, but it should also know about your other source files.
    Aerial
    @MrCappuccino_gitlab
    I am using jest and for some reason I am not getting this thing on the side, for the reports: https://0x0.st/z_1C.png
    https://0x0.st/z_jr.png
    This is all I see
    is this a jest problem or stryker config?
    (this is a create-react-app)
    Aerial
    @MrCappuccino_gitlab
    stryker-mutator/stryker#1613 I submitted an issue
    Anton Pugachevsky
    @antonpug
    Trying to run stryker run for my React component library - getting this error: "Could not inject "configFactory". Inner error: Cannot find module 'react-scripts/package.json'". Not sure why it's looking for react-scripts? Any clues?
    Bartosz Leoniak
    @kmdrGroch
    @antonpug if you are using projectType: 'react' in your options I think it looks for react-scripts for default. Use projectType: 'custom' and it should do it
    Simon de Lang
    @simondel

    Hi @maxharris9 We are not working on the tape runner and have no plans right now to continue working on it. If want to help, we'd be glad to help you get started with building tape support :) Right now there are simply not enough people using tape to give it a higher priority for the core team. You should probably be able to run stryker on your project using the command test runner. It's built in and it runs a command-line command. You can find info on it here: https://www.npmjs.com/package/@stryker-mutator/core#testrunner--string-

    If you need any help, let me know!

    Nikoals Freitas
    @nikolasFreitas
    Good night guys!
    Can I set config file before free the mutant, like I do with Jest, setting an another config file during run time? (I'm getting error with Enzyme)
    Bruno Queiros
    @brunoqueiros
    how do I specify a different tempFolder instead of .stryker-tmp
    niklas stylianou
    @salsa20_gitlab
    Good day, I am using stryker in one of my projects. Its throwing me an error though and I don't know how to deal with it: https://0x0.st/z9_k.png
    bm-stschneider
    @bm-stschneider
    good morning
    I'm a bit overwhelmed with the setup of stryker, there seem to be various very different examples out there and none seem to work for me
    I currently use javascript and jest
    Simon de Lang
    @simondel
    @brunoqueiros This is not possible right now. We do have a closed issue about it: stryker-mutator/stryker#336
    @salsa20_gitlab Could you open an issue with your config and your project setup?
    @bm-stschneider Could you open an issue with your setup and config as well? I notice messages there faster than here.
    Simon de Lang
    @simondel
    nvm @brunoqueiros I see your PR now
    niklas stylianou
    @salsa20_gitlab
    @simondel My issue was non-related to stryker actually, I had my hosts config not correctly, thanks for answering though!
    Simon de Lang
    @simondel
    Glad to hear that you were able to fix it :thumbsup:
    Wilgert Velinga
    @wilgert
    Stryker is reporting that some mutations have survived, but if I manually apply the same mutation my tests fail
    for instance this statement overlaps => (overlaps ? { overlaps } : null) is mutated to overlaps => undefined
    and according to the report this mutation survived
    but if I apply that change to my code 2 tests fail
    Screenshot 2019-08-01 at 09.16.57.png
    using @stryker/{core,html-reporter,karma-runner,typescript}@2.0.2
    Wilgert Velinga
    @wilgert
    Screenshot 2019-08-01 at 10.46.36.png
    Stefano Magni
    @NoriSte

    Hi guys! A question: how can I get the Stryker badge and the dashboard work? What I've already done:

    • I've set the secure key in the .travis.yml
    • I've added a dedicated travis job (because I set the tracis to run coveralls I've added another job) for npm test (that does jest && npx stryker run)
    • the dashboard is in the Stryke conf
    • the dashboard for the project is obviously enabled
    • Stryker has ben launched by travis

    but the badge still does not work, what am I missing? Should I see something into the dashboard too?
    Thank you so much ❤️

    Hugo van Rijswijk
    @hugo-vrijswijk
    You are sure the api key has been added as exactly STRYKER_DASHBOARD_API_KEY? The logging seems to suggest Stryker can't find the environment variable
    Stefano Magni
    @NoriSte
    Oh, I'm so sorry for the stupid question... I try to find out the reason why, I thought that running travis encrypt STRYKER_DASHBOARD_API_KEY=xxx --add was enough (and I have not read carefully the log file)
    Stefano Magni
    @NoriSte
    @hugo-vrijswijk now it works, thank you ❤️
    Hugo van Rijswijk
    @hugo-vrijswijk
    Good to hear!
    Rita Eagleson
    @RitaEagleson_twitter
    This message is for Nico Jansen please reach out to RLE photography by contacting Rita either be email rleagleson@msn.com or call text 6024818709 regarding your upcoming event on Aug 30th
    Shaun S
    @shaunswales
    When running stryker is there an option you can pass to make it not delete the TMP files after a successful run?
    Is anybody else having issues where the test is hitting timeout every time? Currently using 2.0.2 which from reading solved the issue but all my results are timing out.
    Alexandros Spyropoulos
    @dance-cmdr

    In my team, we are trying to keep code quality history. This helps my team pushing back to product for changes that affect code quality.

    Is there any plugin in the wild for comparing historical mutation scores? I'd love to store mutation scores on every tag and make graphs.

    Yonatan
    @yonatanm_twitter
    Hi, running my suite task ~2sec. when I run Stryker it takes for ever (15min or so) and I get the warning:
    14:25:06 (11902) WARN MutantTestMatcher No coverage result found, even though coverageAnalysis is "all". Assuming that all tests cover each mutant. This might have a big impact on the performance.
    I'm running a typescript project . here is my cong:
        mutator: "typescript",
        packageManager: "npm",
        reporters: ["html", "clear-text", "progress", "dashboard"],
        testRunner: "command",
        transpilers: ["typescript"],
        coverageAnalysis: "all",
        tsconfigFile: "tsconfig.json",
        mutate: ["lib/**/*.ts"]
      }
    I also couldn't get a dashboard report - I do see the html clear-tect and progress.
    lin onetwo
    @linonetwo
    Hi, I'm trying to answer this question ( https://www.zhihu.com/question/38807323 ), and introducing Stryker-mutator to more people.
    Is there a page describing what paper is behind stryker-mutator? Or architecture diagram about how it actually works?
    Simon de Lang
    @simondel

    Hi @shaunswales The easiest way to do that is to kill the stryker process during the mutation testing. That way it won't be able to clean up the tmp folder

    @dance-cmdr Not that I'm aware of.

    @yonatanm_twitter If you're still having this issue, could you open a github issue with a demo project so we can test it? PS the dashboard is for https://dashboard.stryker-mutator.io/

    @linonetwo You can find some info in the internals here: https://github.com/stryker-mutator/stryker-handbook/tree/master/stryker/technical-reference#technical-reference

    If anyone is going to Angular Connect next week, send me a message on Twitter (https://twitter.com/_simondel) so we can meet up!