Method: Minitest::TestTask#extra_args

Defined in:
lib/minitest/test_task.rb

#extra_argsObject

Extra arguments to pass to the tests. Defaults empty but gets populated by a number of enviroment variables:

N (-n flag)

a string or regexp of tests to run.

X (-e flag)

a string or regexp of tests to exclude.

A (arg)

quick way to inject an arbitrary argument (eg A=–help).

See #process_env


62
63
64
# File 'lib/minitest/test_task.rb', line 62

def extra_args
  @extra_args
end