RubyGems Navigation menu

minitest-substitute 1.2.0

Simple Minitest helper to replace values such as an instance variable of an object or an environment variable for the duration of a block or a group of tests. This comes in very handy when you have to derive from default configuration in order to test some aspects of your code.

Gemfile:
=

install:
=

Versions:

  1. 1.2.0 April 22, 2026 (9 KB)
  2. 1.1.2 January 07, 2026 (9 KB)
  3. 1.1.1 January 05, 2026 (9 KB)
  4. 1.1.0 July 20, 2025 (9 KB)
  5. 1.0.0 March 07, 2024 (12.5 KB)
Show all versions (9 total)

Runtime Dependencies (1):

minitest >= 5, < 7

Development Dependencies (7):

debug >= 0
guard >= 0
minitest >= 0
rake >= 0
yard >= 0

Owners:

Pushed by:

GitHub

Authors:

  • Sven Schwyn

SHA 256 checksum:

=

Provenance:

Total downloads 4,558

For this version 153

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Version published with MFA: true

Links: