Skip to content
This repository

Apr 14, 2014

  1. Ryan Davis

    - Fixed using expectations w/ DSL in Test class w/o describe. (blowma…

    …ge+others)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 9399]
    authored

Apr 01, 2014

  1. Ryan Davis

    trying to fix perms

    [git-p4: depot-paths = "//src/minitest/dev/": change = 9323]
    authored

Mar 12, 2014

  1. Ryan Davis

    - Fixed 2 cases still using MiniTest. (mikesea)

    [git-p4: depot-paths = "//src/minitest/dev/": change = 9263]
    authored

Feb 26, 2014

  1. Ryan Davis

    + Mocked methods can take a block to verify state. Seattle.rb 12 bday…

    … present from ernie! Thanks!!
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 9245]
    authored

Jan 30, 2014

  1. Ryan Davis

    - Fixed Spec#let check to allow overriding of other lets. (mvz)

    [git-p4: depot-paths = "//src/minitest/dev/": change = 9212]
    authored

Jan 22, 2014

  1. Ryan Davis

    - Fixed up benchmark spec doco and added a test to demonstrate. (bhen…

    …derson)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 9195]
    authored

Jan 08, 2014

  1. Ryan Davis

    + Spec#let raises ArgumentError if you override _any_ instance method…

    … (except subject). (rynr)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 9139]
    authored

Dec 11, 2013

  1. Ryan Davis

    + Change expectations to allow calling most on procs (but not calling…

    … the proc). (bhenderson+others)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 9078]
    authored

Nov 15, 2013

  1. Ryan Davis

    + Use a Queue for scheduling parallel tests. (tenderlove)

    [git-p4: depot-paths = "//src/minitest/dev/": change = 9032]
    authored

Aug 19, 2013

  1. Ryan Davis

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

    …ments
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8921]
    authored

Aug 14, 2013

  1. Ryan Davis

    skip message tests

    [git-p4: depot-paths = "//src/minitest/dev/": change = 8896]
    authored

Jun 29, 2013

  1. Ryan Davis

    Added swindsor's send mock tests for better coverage

    [git-p4: depot-paths = "//src/minitest/dev/": change = 8752]
    authored

Jun 26, 2013

  1. Ryan Davis

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

    [git-p4: depot-paths = "//src/minitest/dev/": change = 8732]
    authored

Jun 20, 2013

  1. Ryan Davis

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

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

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

    …rter wrapper. (bestie)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8700]
    authored

Jun 12, 2013

  1. Ryan Davis

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

    …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]
    authored

May 30, 2013

  1. Ryan Davis

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

    …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]
    authored

May 20, 2013

  1. Ryan Davis

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

    … problems cropping up on untested rails code. (tenderlove/rubys)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8568]
    authored

May 04, 2013

  1. Ryan Davis

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

    …s needed.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8495]
    authored

May 03, 2013

  1. Ryan Davis

    *sigh* Added Test#dup too.

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

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

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

    + Moved ParallelEach under Minitest.

    [git-p4: depot-paths = "//src/minitest/dev/": change = 8491]
    authored

May 02, 2013

  1. Ryan Davis

    Removed mutex from minitest.rb

    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]
    authored

May 01, 2013

  1. Ryan Davis

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

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

    Fixed test_setup_teardown_behavior for mt5. (phiggins)

    [git-p4: depot-paths = "//src/minitest/dev/": change = 8476]
    authored

Apr 30, 2013

  1. Ryan Davis

    Added tests for reporter

    [git-p4: depot-paths = "//src/minitest/dev/": change = 8472]
    authored

Apr 25, 2013

  1. Ryan Davis

    Sharpen stub tests. (ab9)

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

    Oh god... here we go.

    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]
    authored

Apr 21, 2013

  1. Ryan Davis

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

    …impl. (ab9/tyabe)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8437]
    authored

Apr 17, 2013

  1. Ryan Davis

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

    [git-p4: depot-paths = "//src/minitest/dev/": change = 8417]
    authored

Apr 11, 2013

  1. Ryan Davis

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

    …my logic. (nettsundere)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8396]
    authored

Mar 18, 2013

  1. Ryan Davis

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

    …bug. (blowmage and metaskills respectively)
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8299]
    authored

Mar 08, 2013

  1. Ryan Davis

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

    …r 1.8
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8295]
    authored

Feb 28, 2013

  1. Ryan Davis

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

    …-n filter.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8279]
    authored

Feb 02, 2013

  1. Ryan Davis

    ! Removed the long deprecated assert_block

    ! Removed the long deprecated lifecycle hooks: add_(setup|teardown)_hook
    ! Removed ::reset_setup_teardown_hooks
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 8177]
    authored
Something went wrong with that request. Please try again.