Closed Alcolo47 closed 5 years ago
With this, I can test by mutation environment, but:
Note: I make baseline db in /tmp because if you launch baseline twice, we reuse the same db: key violation error. Then we have to delete it after the run.
I like the basic idea of your change to execute
. It's a better API.
Note: I make baseline db in /tmp because if you launch baseline twice, we reuse the same db: key violation error. Then we have to delete it after the run.
Another option is to allow baseline
(perhaps with a flag) to overwrite the existing baseline. As I mentioned in my comments, I think there's a benefit to keeping the baseline session around after the baseline command finishes, at least in some cases.
Correcting no_op name: NoOp
Create baseline db with tempfile.mkstemp cosmic_ray.commands.execute now needs user open db instead of filenaùe On errors, Write errors in stdout and exit with exit code 1