Overview
count test on your git log
$ dio rspec
git log --author=sue445 --remove-empty --oneline --unified=0 --ignore-all-space master..HEAD
plus=2, minus=0, increment=2
Installation
Add this line to your application's Gemfile:
gem 'dio_tests'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dio_tests
Usage
Usage: dio [options]
-f, --format=<format> supported: junit4,qunit,rspec
-s, --since=<since-commit> git log <since-commit>...HEAD (default: master)
-a, --author=<author-name> git log --author=<author-name> (default: use 'user.name' in .gitconfig)
Supported
- Ruby
- RSpec
- Java
- JUnit4
- JavaScript
- QUnit
Required
- ruby
- git
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request