RubyGems Navigation menu

minitest-substitute 0.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.0.0 March 07, 2024 (12.5 KB)
  2. 0.3.0 September 08, 2023 (12.5 KB)
  3. 0.2.1 September 06, 2023 (12 KB)
  4. 0.2.0 August 25, 2023 (12 KB)
  5. 0.1.0 August 23, 2023 (11.5 KB)

Runtime Dependencies (1):

minitest ~> 5

Development Dependencies (8):

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

Owners:

Pushed by:

Authors:

  • Sven Schwyn

SHA 256 checksum:

=

Signature validity period:

November 06, 2022 - November 06, 2023 (expired)

Total downloads 1,758

For this version 349

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

Links: