Skip to content

Commit

Permalink
rake: task to run Cucumber; readme: running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
igneus committed Jun 12, 2020
1 parent 46dd8e0 commit 1ff470c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ Print liturgical calendar for the current month:

`$ calrom 2028-01-15`

## Running tests

Clone the repository, `$ bundle install` to install dependencies, then:

`$ rake cucumber` - run specs describing the command line interface

`$ rake spec` - run specs describing internal implementation details

## Project roadmap

* [ ] detailed listing of a day/month/year/range of dates
Expand Down
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "cucumber/rake/task"

RSpec::Core::RakeTask.new(:spec)

Cucumber::Rake::Task.new

task :default => :spec

0 comments on commit 1ff470c

Please sign in to comment.