Tool Information

Introduction

Tool Summary

MiniTest, as the name suggests, is a small and fast unit testing framework. Shipped with Ruby 1.9, MiniTest supports a complete suite of testing capabilities such as TDD, BDD, mocking, and benchmarking. Since ruby 1.9 the ruby standard library has included a testing framework called MiniTest, it is a modern and lightweight replacement for ruby 1.8's Test::Unit framework. MiniTest provides:

minitest/benchmark - an awesome way to assert your algorithm's performance.

minitest/pride - show your pride in testing!

Incredibly small and fast runner, but no bells and whistles.

Components and features

Test::Unit Compatibility - MiniTest supports assertions and test cases just like its predecessor Test::Unit. If an existing test suite is written in Test::Unit, conversion is relatively easy.

Expectation Syntax - In addition to the assert syntax, MiniTest supports an expectation syntax similar to RSpec. The expectation syntax is largely a preference for each individual developer (or team), and there is no need to pull in an external library.

Getting Started

If you want to install the latest version (or are on ruby 1.8) just do gem install minitest in your shell like usual when installing ruby gems. You will also have to add to following to your tests in order to activate the gem version:

require "rubygems"
gem "minitest"

If you are using bundler you just have to add gem "minitest" to your Gemfile and do the bundle command.

Videos

Media & Files

Price Information

DISCLAIMER

In any case of miss-information between QATestingTools and the manufacturer call-center or website, the manufacturer price is the one you should take in consideration,the QATestingTools is NOT responsible for any miss-understanding or miss-information since we are NOT always informed on prices programs updates. In all cases please get more details from manufacturer.