Module: MicroTest

Defined in:
lib/microtest.rb,
lib/microtest/assertions.rb

Defined Under Namespace

Modules: Assertions Classes: TestCase, TestMethod, World

Class Method Summary collapse

Class Method Details

.natural_namesObject

Output naturalized test names instead of just method names.



6
7
8
# File 'lib/microtest.rb', line 6

def self.natural_names
  @natural_names ||= nil
end

.natural_names=(boolean) ⇒ Object

Set flag to output naturalized test names instead of just method names.



13
14
15
# File 'lib/microtest.rb', line 13

def self.natural_names=(boolean)
  @natural_names = !!boolean
end