Keep your Cucumber and Spinach feature files greener :four_leaf_clover: with this configurable linter
NOTE: This project is still under early-stage development
- Move "results printing" logic to configurable formatters
- Implement some kind of hooks system for use by formatters, similar to this
- Create a RakeTask class for use in CI systems
- Add coloring for formatters
Install the gem
gem install greener
greener binary takes a single argument,
-c path/to/config/greener.yml. See the defaults for an example of this file.
View the changelog for recent changes.
Install dev dependencies locally
bundle exec rake test
View code coverage
rake && open coverage/index.html
To test the
greener binary locally,
cd to the repo root and run
RUBYLIB=lib bundle exec ruby bin/greener
Based on this answer.