twtest
Helpers for writing TaskWarrior tests in Ruby. It isolates tests by running TaskWarrior tests in their own data directory, independent from any default data directory you may have on your workstation.
Installation
Add this line to your application's Gemfile:
gem 'twtest'
And then execute:
$ bundle
Or install it yourself as:
$ gem install twtest
Usage
Have a look at the example.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Development
If you hack on a project and find the need to use a custom version of twtest
, configure your project to prefer a local git clone over the gem:
bundle config local.twtest ../twtest