Giter Club home page Giter Club logo

rubytest-rake's Introduction

Rake for Ruby Test

Homepage / User Guide / Development / Issues

Build Status Gem Version

This gem provides a plug-in for running Ruby Test based test framework tests via Rake.

Note that this implmentation does not shell-out, so tests are run from the same process as Rake. While it probably makes no difference, if you need a more prestine test environment in which Rake is not present, then use a different approach to running tests, such as writing a custom runner and shelling out to it.

Installation

RubyGems

$ gem install rubytest-rake

Bundler

Using Bundler add to your Gemfile:

gem 'rubytest'
gem 'rubytest-rake'

Then on the command line:

$ bundle install

Instruction

In your Rakefile add:

require 'rubytest-rake'

Test::Rake::TestTask.new do |run|
  run.load_path 'lib'
  run.test_files << 'test/test_*.rb'
end

The Rake task constructor supports the same interface as Test.configure.

Contributing

If you use Rake and Ruby Test, please consider helping to make the Rake plugin better!

Copyrights

(BSD-2-Clause)

Copyright (c) 2012 Rubyworks

See LICENSE.txt for details.

rubytest-rake's People

Contributors

trans avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.