Low commit activity in last 3 years
No release in over a year
Ports Rails declarative minitest into regular minitest
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 5.0
 Project Readme

Declarative Minitest Build Status Gem Version

Adds declarative minitest (setup do, test 'the truth' do, and teardown do) syntax from Rails-flavoured minitest to the original minitest.

Installation

$ gem install declarative_minitest

or add to your Gemfile:

gem 'declarative_minitest', '~> 0.1.2'

How to use

Add the line require 'minitest/declarative' after require 'minitest/autorun' in either test_helper.rb or in the individual tests that you want declarative syntax.