Sha256: 457a6014c5492312eff3a345792ca36935897d6b1a2e1731050cccb2ef284f48
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 KB
Contents
# Eat Your Vegetables * [Email](mailto:cfeckardt@gmail.com) _NOTE THIS IS A WORK IN PROGRESS. DOCUMENTATION AND SOFTWARE IS INCOMPLETE_ ## Description Eat Your Vegetables is a tool that aims to help you improve your codebase over time. You configure the ambition that you want to set, that is, which files do you want to be covered by your test tools in an ideal world. Then, every time a commit is made into your code base, Eat Your Vegetables will ensure that your are one incremental step closer to that goal. Run Eat Your Vegetables in your CI server, as part of your test suite. On every test run it will then look at the previous state, count up the number of excluded files from your linter/test framework/coverage and _fail_ your tests if that number hasn't decreased. ## Features Support for linters, coverage and test tools. For a full list of support tools see SUPPORTED_TOOLS.md This project is still in early days so _please_ add support for your framework if it is missing. There is a simple guide here: ADDING_FRAMEWORKS.md ## Requirements A newish version of git must be installed on the CI server. Your CI server must be executing your environment with git available. ## Install $ gem install eat_your_vegetables ## Running it Eat Your Vegetables is intended to be run with ### With docker For all you hip kids out there, there's a Dockerfile! `docker run eat_your_vegetables:latest` ## Configuration In the root of your project create a file named `Veggiefile` ```ruby ambition do include '/' end rubocop simplecov ``` ### Setting up CI #### Gitlab #### Circle CI #### Other Please contribute by adding set up instructions for other CIs. ## Contributing Nothing special here! Contributions are welcome! ## Copyright Copyright (c) 2019 Fredrik Eckardt See {file:LICENSE.txt} for details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eat_your_vegetables-0.1.1 | README.md |