Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a realtime-clear-text reporter #256

Closed
jeznag opened this issue Mar 22, 2017 · 4 comments
Closed

Create a realtime-clear-text reporter #256

jeznag opened this issue Mar 22, 2017 · 4 comments
Assignees
Labels
🚀 Feature request New feature request

Comments

@jeznag
Copy link

jeznag commented Mar 22, 2017

Would be helpful to know of surviving mutants while the test is still running in case of a test suite that runs really slowly.

Goal would be to start work on killing the surviving mutants while the rest of the mutant tests are running.

Output would be similar to clear-text but reported in real time.

@nicojs
Copy link
Member

nicojs commented Mar 22, 2017

Cool. Could't we change the clear-text reporter instead of creating a new one? Why not add a config option

clearTextReporter: { 
  realtime: true    
}

You'll get all options injected in the reporter, so you can check this option with:

this.options['clearTextReporter']['realtime']

@nicojs nicojs added the 🚀 Feature request New feature request label Mar 22, 2017
@jeznag
Copy link
Author

jeznag commented Apr 4, 2017

@nicojs is this what you meant by adding the reporter option? stryker-mutator/stryker-api#18

@simondel
Copy link
Member

simondel commented Apr 5, 2017

Thanks for the work! We've changed the way that Stryker works. We have merged stryker and the api into one repository (this one) and we now couple connect our modules using LernaJS which makes it easier to make changes to the stryker-api and use them in stryker without having to do prereleases all the time.

So unfortunately you will have to re-do a bit of your work because the structure of the project has changed. To make this easier I've invited you to become a collaborator so you can make branches here so we can also easily make changes.

On topic:
I would suggest also logging other mutants that have been tested as debugging statements. What do you think?

If you need help getting started with our new project structure, let us know!

@simondel
Copy link
Member

The reporter API is public so it's possible to add this as a plugin. We're closing this issue for now. If anyone wants to pick this up and needs help, let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature request
Projects
None yet
Development

No branches or pull requests

3 participants