View on GitHub


Test Coverage
# cch
**CCH** - Run your test suite for just changed files

You just need to run:


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


Or specify the runners:

cch rspec rubocop

## Configuration

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

```ruby [: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:

- [watcher](
- [runners](

You can also change the default configurations for existing runners.

## Development

git clone
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 [](

## Contributing

Bug reports and pull requests are welcome on GitHub at 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](