question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom mutators as plugins

See original GitHub issue

First of all, this project is awesome! Thanks for all the effort you are putting on it!

I was taking a look a the available mutators, and even though they cover many cases, it would be really valuable to be able to add your own custom mutators. E.g for JSX or libraries like Ramda.

These custom mutators could work like plugins imported from npm and local modules.

I would like to contribute to make this happen.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
nicojscommented, Aug 27, 2019

@simondel and I discussed mutation switching and we think we can go back to one AST. Once we’ve got that custom mutators is high on the priority list.

2reactions
tommckcommented, Oct 3, 2018

I have a perfect scenario for this: Support for momentjs.

I don’t think we want to keep ballooning the size of the default plugins, but it would be nice to be able to just configure support for momentjs isBefore isAfter, etc.

We can add that to the base, but I see that becoming a maintenance and speed issue over time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom mutators as plugins · Issue #444 - GitHub
It is already possible to add your custom Mutator plugin. This feature was implemented in order to mutate different languages.
Read more >
Extensions and Mutators | Blockly - Google Developers
A mutator is a special kind of extension that adds custom serialization, and sometimes UI, to a block. Extensions. Extensions are functions that...
Read more >
Mutators reference - Sensu Docs
Many Sensu mutator plugins provide support for command line arguments for ... Sensu includes built-in mutators to help you customize event pipelines for ......
Read more >
Custom Mutators | AFLplusplus
Custom Mutators in AFL++. This file describes how you can implement custom mutations to be used in AFL. For now, we support C/C++...
Read more >
Configuration | Stryker Mutator
This page describes the available configuration options in Stryker's core package. Please keep in mind that your plugins might also need configuration, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found