Closed skellock closed 6 years ago
I love this rule!
I think it's a great short-term solution. And it's simple and clean.
Only nit I have is checking for the exit code exclusively takes the check spot. I'd rather have check always be for output, but a separate prop for those who want to check the exit code, like "exitCode": 0
I think it would be an epic add, plz add!
How about a rule that allows you to run an arbitrary command and test it's output?
Simple
stdout
Advanced
stdout
Another Advanced
Why?
This is a good short-term rule.
It allows some of what people want in #87 (minus the "rewrite this in a compiled language") and #107 (minus the support snapshots & custom
js
plugins).I think it'll give people enough flexibility with adding custom rules without needing to write any
js
.Thoughts?
I'd be up doing this work if you'd like.