Skip to content

Commit

Permalink
Added a task that runs phpunit and behat without code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
christeredvartsen committed Oct 9, 2015
1 parent 9c633d4 commit 483b70f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ task :default => [:lint, :installdep, :test, :phpcs, :apidocs, :readthedocs]
desc "Run tests"
task :test => [:phpunit, :behat]

desc "Run tests without code coverage"
task :test_no_cc do
begin
sh %{vendor/bin/phpunit --verbose -c tests/phpunit}
sh %{vendor/bin/behat --strict --config tests/behat/behat.yml --profile=no-cc}
rescue Exception
exit 1
end
end

desc "Spell check and generate end user docs"
task :readthedocs do
wd = Dir.getwd
Expand Down

0 comments on commit 483b70f

Please sign in to comment.