Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 19, 2013
  1. @zenspider

    Added restore_env to tests to test MT_NO_SKIP_MSG. Other test improve…

    zenspider authored
    …ments
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8921]
Commits on Aug 14, 2013
  1. @zenspider

    skip message tests

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8896]
Commits on Jun 29, 2013
  1. @zenspider

    Added swindsor's send mock tests for better coverage

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8752]
Commits on Jun 26, 2013
  1. @zenspider

    + Allow stub to pass args to blocks. (swindsor)

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8732]
Commits on Jun 20, 2013
  1. @zenspider

    + Raise ArgumentError if let name starts with 'test'. (johnmaxwell)

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8701]
  2. @zenspider

    + Make everything mockable by wrapping all 'special' methods in a sma…

    zenspider authored
    …rter wrapper. (bestie)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8700]
Commits on Jun 12, 2013
  1. @zenspider

    - Make Spec::DSL.describe_stack thread local to avoid failing on my o…

    zenspider authored
    …wn tests.
    
    - Make a fake Time.now local to the tests so they won't interfere with real reporter timings.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8677]
Commits on May 30, 2013
  1. @zenspider

    + Removed Reporter#run_and_report... cleaner, but doesn't "fit" in th…

    zenspider authored
    …e API.
    
    + Added AbstractReporter, defining required Reporter API to quack properly.
    + Refactored Reporter into ProgressReporter and SummaryReporter.
    + Added doco for writing reporters.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8634]
Commits on May 20, 2013
  1. @zenspider

    - Replaced Runnable#dup and Test#dup with marshal_dump/load. Too many…

    zenspider authored
    … problems cropping up on untested rails code. (tenderlove/rubys)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8568]
Commits on May 4, 2013
  1. @zenspider

    + Runnable#run needs to return self. Allows for swapping of results a…

    zenspider authored
    …s needed.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8495]
Commits on May 3, 2013
  1. @zenspider

    *sigh* Added Test#dup too.

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8494]
  2. @zenspider

    + Implement Runnable#dup to cleanse state back to test results. Helps…

    zenspider authored
    … with serialization. pair:tenderlove
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8493]
  3. @zenspider

    + Moved ParallelEach under Minitest.

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8491]
Commits on May 2, 2013
  1. @zenspider

    Removed mutex from minitest.rb

    zenspider authored
    Removed mutex from test.rb
    Removed Minitest::Reporter.synchronize
    Removed Minitest::Test.synchronize
    Upon loading minitest/parallel_each, record, capture_io and capture_subprocess_io are doped with synchronization code.
    
    Paired with @phiggins.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8488]
Commits on May 1, 2013
  1. @zenspider

    + Added count/size to ParallelEach to fix use w/in stdlib's test/unit…

    zenspider authored
    …. :( (btaitelb)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8477]
  2. @zenspider

    Fixed test_setup_teardown_behavior for mt5. (phiggins)

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8476]
Commits on Apr 30, 2013
  1. @zenspider

    Added tests for reporter

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8472]
Commits on Apr 25, 2013
  1. @zenspider

    Sharpen stub tests. (ab9)

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8463]
  2. @zenspider

    Oh god... here we go.

    zenspider authored
    Minitest 5:
    
    Deaths in the family:
    
    ! MiniTest.runner is dead. No more manager objects.
    ! MiniTest::Unit#record is dead. Use a Reporter instance instead.
    ! MiniTest::Unit._run_* is dead. Runnable things are responsible for their own runs.
    ! MiniTest::Unit.output is dead. No more centralized IO.
    
    Major (oft incompatible) changes:
    
    ! Renamed MiniTest to Minitest. Your pinkies will thank me.
    ! Removed MiniTest::Unit entirely. No more manager objects.
    ! Added Minitest::Runnable. Everything minitest can run subclasses this.
    ! Renamed MiniTest::Unit::TestCase to Minitest::Test (subclassing Runnable).
    ! Added Minitest::Benchmark.
      ! Your benchmarks need to move to their own subclass.
      ! Benchmarks using the spec DSL have to have "Bench" somewhere in their describe.
    ! MiniTest::Unit.after_tests moved to Minitest.after_tests
    ! MiniTest::Unit.autorun is now Minitest.autorun. Just require minitest/autorun pls.
    ! Removed ParallelEach#grep since it isn't used anywhere.
    
    Minor moves:
    
    + Moved Assertions module to minitest/assertions.rb
    + Moved Expectations module to minitest/expectations.rb
    + Moved Test to minitest/test.rb
    + Moved everything else in minitest/unit.rb to minitest.rb
    + minitest/unit.rb is now just a small (user-test only) compatibility layer.
    
    Additions:
    
    + Added a plugin system that can extend command-line options.
    + Added Minitest.extensions.
    + Added Minitest.reporter (only available during startup).
    + Added Minitest.run(args). This is the very top of any Minitest run.
    + Added Minitest::Reporter. Everything minitest can report goes through here.
      + Minitest.reporter is a composite so you can add your own.
    + Added Minitest::CompositeReporter. Much easier to extend with your own reporters.
    + Added UnexpectedError, an Assertion subclass, to wrap up errors.
    + Minitest::Test#run is now freakin' beautiful. 47 -> 17 loc
    
    Other:
    
    + Removed Object.infect_with_assertions (it was already dead code).
    + Runnables are responsible for knowing their result_code (eg "." or "F").
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8451]
Commits on Apr 21, 2013
  1. @zenspider

    - Reverted stubbing of module methods change. Stub the user, not the …

    zenspider authored
    …impl. (ab9/tyabe)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8437]
Commits on Apr 17, 2013
  1. @zenspider

    - Fixed stubbing of module methods (eg Kernel#sleep). (steveklabnik)

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8417]
Commits on Apr 11, 2013
  1. @zenspider

    - Fixed inconsistency in refute_in_delta/epsilon. I double negatived …

    zenspider authored
    …my logic. (nettsundere)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8396]
Commits on Mar 18, 2013
  1. @zenspider

    Fixed #248: Ensure spec names are correct and #251: Fix 1.8 DSL#name …

    zenspider authored
    …bug. (blowmage and metaskills respectively)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8299]
Commits on Mar 8, 2013
  1. @zenspider

    Fixed to_s to be in the DSL module. Had to jump through some hoops fo…

    zenspider authored
    …r 1.8
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8295]
Commits on Feb 28, 2013
  1. @zenspider

    + Change error output to match Class#method, making it easier to use …

    zenspider authored
    …-n filter.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8279]
Commits on Feb 2, 2013
  1. @zenspider

    ! Removed the long deprecated assert_block

    zenspider authored
    ! Removed the long deprecated lifecycle hooks: add_(setup|teardown)_hook
    ! Removed ::reset_setup_teardown_hooks
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8177]
Commits on Jan 31, 2013
  1. @zenspider

    Another fix for mu_pp_for_diff on machines with really wide addresses.

    zenspider authored
    Fixed _run_suite's method filter to allow for method-only matches to work again.
    Fixed filter to work with strings again.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8163]
Commits on Jan 30, 2013
  1. @zenspider

    + Allow filtering tests by suite name as well as test name. (lazyatom)

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8161]
Commits on Jan 19, 2013
  1. @zenspider

    damn... all emacs ruby modes suck :(((

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8135]
  2. @zenspider

    I'm fixing bugs in maglev!

    zenspider authored
    - Modified float tests for maglev float output differences. Not sure this is right. Not sure I care.
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8133]
  3. @zenspider

    ARGH... why do I get caught in the trappings of single quotes?

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8132]
Commits on Jan 18, 2013
  1. @zenspider

    - Added hacks and skips to get clean test runs on maglev

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8131]
  2. @zenspider

    Remove everything speccy from test_minitest_unit.rb.

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8130]
  3. @zenspider

    minor cleanup, use autorun

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8129]
Commits on Jan 15, 2013
  1. @zenspider

    + Errors in teardown are now recorded. (randycoulman)

    zenspider authored
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8111]
Something went wrong with that request. Please try again.