RubyGems Navigation menu

minitest-substitute 1.0.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:
= Copy to clipboard Copied!

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:

27f0bba86148d48714810b054e7d0703f548205f7e876a42fbb522f0467f2709

Signature validity period:

November 10, 2023 - November 09, 2024

Total downloads 1,291

For this version 184

License:

MIT

Required Ruby Version: >= 3.0.0

Links: