Project

cch

0.0
No commit activity in last 3 years
No release in over 3 years
cch - check on changes for ruby projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

cch

CCH - Run your test suite for just changed files

You just need to run:

cch

And then cch will:

  1. List changed files using git commands
  2. Expand files using regexp
  3. Run with these files your tests, code lints

gem status

Build Status Gem Version Code Climate Test Coverage Dependency Status Yard Docs

Installation

gem install cch

Usage

cch

Or specify the runners:

cch rspec rubocop

Configuration

After running cch for the first time, a config file is created with:

Cch::Runner.run [:rubocop, :haml_lint, :rspec, :cucumber]

Cch comes with some basic configuration for:

  • rspec
  • rubocop
  • haml_lint
  • cucumber

You can create your own configuration in your cchfile.rb. Use the following configuration files as the base for it:

You can also change the default configurations for existing runners.

Development

git clone git@github.com:vnegrisolo/cch.git
./bin/setup
bundle exec rake

You can also run bin/console for an interactive prompt that will allow you to experiment.

Install locally

bundle exec rake install
gem install --local pkg/cch*.gem

Release a new version

Change version.rb file, commit, push and then:

bundle exec rake release

This will deploy a new release on rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/vnegrisolo/cch. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.