Open neob91-close opened 1 year ago
Half of the "test suite" of lintlizard is running it on itself in CI. I agree having some actual tests would be nice though. As well as testing failures.
Well, --fix
or --changed
aren't running in CI (to my knowledge), so it's possible to break them without noticing
It's only checking for non-zero exit codes, right? https://github.com/closeio/lintlizard/pull/147
Yep that's true, it's only regular runs.
We have no tests whatsoever for lintlizard, while it should be fairly easy to mock out
subprocess
and make assertions on what commands are executed (and potentially what output is generated by lintlizard).