No commit activity in last 3 years
No release in over 3 years
Minitest override which treats tests without assertions as having been skipped for reporting purposes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.0
~> 10.0

Runtime

>= 5.0
 Project Readme

Minitest Autoskip

Treat tests without assertions as having been skipped for reporting purposes.

Installation

Add to an application's Gemfile as a dependency:

gem 'minitest_autoskip'

Install:

bundle install

Usage

Require the library after Minitest is loaded:

require 'minitest_autoskip'

test 'autoskip' do
  # this test will be treated as skipped
end

Issues

This library overrides the internals of the Minitest library, and may stop working if Minitest is updated. Please report issues on Github.

Tested against Minitest 5.11.3.