☰
minitest 5.23.1 documentation

Class and Module Index

  • Kernel
  • Minitest
    • AbstractReporter
    • Assertion
    • Assertions
    • BacktraceFilter
    • BenchSpec
    • Benchmark
    • CompositeReporter
    • Compress
    • Expectations
    • Guard
    • Mock
    • Parallel
      • Executor
    • PrideIO
    • PrideLOL
    • ProgressReporter
    • Reportable
    • Result
    • Skip
    • Spec
      • DSL
        • InstanceMethods
    • StatisticsReporter
    • SummaryReporter
    • Test
      • LifecycleHooks
    • TestTask
    • UnexpectedError
    • UnexpectedWarning
  • Object
  • SubThingySpec
  • ThingySpec

Pages

  • History
  • Manifest
  • README

Generated by RDoc 6.12.0. Validate

RoRvsWild theme based on Darkfish.

class ThingySpec

end

end

runs 2 specs # runs 3 tests

The specs generate:

Public Instance Methods

setup ()
Calls superclass method Minitest::Test::LifecycleHooks#setup
# File design_rationale.rb, line 30
def setup
  super
  do_some_setup
end
test_should_do_the_first_thing ()
# File design_rationale.rb, line 35
def test_should_do_the_first_thing
  assert_equal 1, 1
end

Ancestors

  • Minitest::Spec
    • Minitest::Test
      • Minitest::Runnable
        • Object
          • BasicObject

Instance Methods

  • setup
  • test_should_do_the_first_thing