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.

Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. 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