stryker-net
stryker-net copied to clipboard
Lifecycle hooks for reporters and loggers
Is your feature request related to a problem? Please describe. Our reporters work fine at the moment. But the code is a little messy. They implement the IReporter interface. This interface contains methods for all lifecycle events. The broadcast reporter calls each reporter on every event.
Describe the solution you'd like I would like to see and event based solution. The broadcast reporter puts out events and the reporters listen to the type of events they are interested in. No more empty methods for reporters 🎊
This could be implemented with delegates or another event system.
Make sure the FilteredMutantsLogger also connects to the lifecycle hooks. It now misuses the broadcast reporter to be called.
Additional context See the cleartext reporter as an example of the empty methods we would like to remove