stryker-net
stryker-net copied to clipboard
Diff run since timestamp
Is your feature request related to a problem? Please describe. It would be nice to be able able to tell stryker to run a test with only mutations new since some timestamp
Describe the solution you'd like Add option to provide a timestamp to the git diff feature. This will look through the commits and choose the closest commit before or on the specified timestamp.
I could have a look at this.
@rouke-broersma a few questions.
- Do we want to introduce a new cli options for this or should this work with the existing
since
option? Something like--since-time <timestamp>
? - What type of timestamp do we want to except?
- hh:mm (current day)
- hh:mm:ss (current day)
- yyyy-MM-ddThh:mm:ss (uses current timezone)
- yyyy-MM-ddThh:mm:ss+02:00
- Epoch Unix Timestamp (?)
- Or do we want to go a for a bit more ease of use like:
- 30m (30 minutes in the past)
- 2h (2 hours in the past)
- 1d (1 day in the past)
Ideally (and this might be super complex), you can pass this with the current --since:
Timestamp could be many formats but I would suggest starting with 'relative time' and maybe ISO8601 timestamp.
hi @danielmertens where do you stand regarding this feature ? if not, could you de-assign yourself as a signal for others to pick up.
In any case, thanks for the time you dedicated to this.