RubyGems Navigation menu

minitest-substitute 1.1.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.1.0 July 20, 2025 (9 KB)
  2. 1.0.0 March 07, 2024 (12.5 KB)
  3. 0.3.0 September 08, 2023 (12.5 KB)
  4. 0.2.1 September 06, 2023 (12 KB)
  5. 0.2.0 August 25, 2023 (12 KB)
Show all versions (6 total)

Runtime Dependencies (1):

minitest ~> 5

Development Dependencies (8):

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

Owners:

Pushed by:

GitHub

Authors:

  • Sven Schwyn

SHA 256 checksum:

=

Provenance:

Total downloads 2,983

For this version 246

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

Links: