Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple autotester intended to be used with rSpec and rCov.
branch: master

This branch is 57 commits behind Narnach:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
MIT-LICENSE
README.rdoc
Rakefile
minitest.gemspec
minitest.gemspec.template

README.rdoc

Minitest

Minitest is a simple autotester intended to be used with rSpec and rCov. It can be used with 'plain' ruby projects and Ruby on Rails.

Installation

From gem

Use gem to install minitest. The gem is located on github.

sudo gem install Narnach-minitest -s http://gems.github.com

From git

From the project root, use rake to install:

git clone git://github.com/Narnach/minitest.git
cd minitest
rake install

This will build the gem and install it for you.

Usage

Minitest has the following command line options:

recent

Only specs for files modified within the last hour are executed on the first run. All files are still monitored for changes, though.

profile

Force rspec output format to 'profile', combined with coloured output and unified diffs.

Examples

When you start working on a codebase, it makes sense to run all specs:

minitest

When you resume work on a codebase you recently worked on, it might be useful skip running the specs for unchanged files on the first run:

minitest recent

When you want to see which specs are slow and could use optimizing:

minitest profile

You can also combine options:

minitest recent profile

About

Author

Wes 'Narnach' Oldenbeuving (narnach@gmail.com)

Website

www.github.com/Narnach/minitest

Copyright

Copyright © 2008 Wes Oldenbeuving

License

MIT license. See MIT-LICENSE (in the gem directory) for license details.

Something went wrong with that request. Please try again.