Permalink
Commits on Jul 24, 2018
  1. Fix responds to assertions (#33)

    felixbuenemann authored and ysbaddaden committed Jul 24, 2018
    This fixes local variable reference errors in assert_responds_to and refute_responds_to
Commits on Jun 29, 2018
  1. Add minitest/focus (#31)

    ysbaddaden committed Jun 29, 2018
    Sometimes we want to focus on specific ests, but can't easily
    filter them. The `focus` macro enables to mark a test method to be
    run, which will filter out other test methods for the test run.
    Specs can use the `focus: true` argument to achieve the same.
    
    For example:
    
    ```crystal
    require "minitest/autorun"
    require "minitest/focus"
    
    class MyTest < Minitest::Test
      focus def test_something
      end
    end
    
    describe "MyTest" do
      it "something", focus: true do
      end
    end
    ```
Commits on May 27, 2018
  1. v0.4.0

    ysbaddaden committed May 27, 2018
  2. Fix: nicer print for pattern run option

    ysbaddaden committed May 27, 2018
    Uses Regex#inspect instead of Regex#to_s which will only print
    something like `/pattern/` instead of `(?imx:pattern)` for example.
Commits on May 26, 2018
  1. Add instance_of assertions

    ysbaddaden committed May 26, 2018
Commits on May 9, 2018
  1. Test on TravisCI (#29)

    splattael authored and ysbaddaden committed May 9, 2018
  2. POSIX makefile

    ysbaddaden committed May 9, 2018
  3. Prefer `Tempfile#delete` over the dead alias

    Peter Leitzen authored and ysbaddaden committed May 9, 2018
Commits on Jan 27, 2018
Commits on Dec 28, 2017
  1. Bump VERSION to 0.3.6

    xfbs authored and ysbaddaden committed Dec 26, 2017
Commits on Nov 29, 2017
  1. Merge pull request #15 from ysbaddaden/feature/reproducible-runs

    ysbaddaden committed Nov 29, 2017
    Add --seed for reproducible test runs (and --chaos)
Commits on Nov 28, 2017
  1. Reproducible tests: use custom Random instance

    ysbaddaden committed Nov 28, 2017
    Use a custom Random instance for shuffling tests, instead of relying
    on the global `rand` which may be influenced by the application at
    runtime.
  2. Introduce --chaos argument to shuffle everything

    ysbaddaden committed Nov 28, 2017
    Instead of always collecting all tests from all test suites then
    shuffling and running all tests, introduce a `--chaos` parameter to
    enable this feature on demand, along with --parallel. That is, on
    demand absolute chaos.
    
    Defaults back to run each test suite in whatever order, then
    shuffling the tests for each suite. That is, less chaos.
  3. Add --seed option for reproducible test runs

    ysbaddaden committed Apr 19, 2017
    Prints the random seed used to shuffle the test suite, allowing to
    reproduce test failures that stem from a certain execution order.
  4. Collect and run tests globally (not per test suite)

    ysbaddaden committed Apr 19, 2017
    Instead of collecting test suites, then shuffling tests in a test
    suite, collect all tests for all test suites, then shuffle it all
    for true chaos.
  5. Shuffle tests at runtime

    ysbaddaden committed Apr 19, 2017
    Shuffle the tests in a suite so they're shuffled dynamically
    at runtime, not statically at compile time.
Commits on Nov 7, 2017
  1. Release: v0.3.6

    ysbaddaden committed Nov 7, 2017
Commits on Oct 6, 2017
  1. Remove macro def (#23)

    Sija authored and ysbaddaden committed Oct 6, 2017
    This was removed from Crystal.
    
    * Remove macro def from src/test.cr
Commits on Aug 23, 2017
Commits on Jun 14, 2017
  1. Merge pull request #20 from mirago/bugfix/must-equal-incorrect-order

    ysbaddaden committed Jun 14, 2017
    Fix incorrect parameter order passed to assert_equal
Commits on Jun 13, 2017
Commits on May 7, 2017
  1. Allow to "make" on MacOS. Error below:

    akzhan authored and ysbaddaden committed May 7, 2017
    ➜  minitest.cr git:(master) make
    = `which crystal` run test/*_test.cr -- --parallel 4 --verbose
    /bin/sh: =: command not found
    make: *** [test] Error 127
Commits on Apr 19, 2017
  1. Revert "Fix: actually set the random seed"

    ysbaddaden committed Apr 19, 2017
    This reverts commit c51c9fa.
Commits on Apr 18, 2017
Commits on Nov 23, 2016
  1. Release: v0.3.5

    ysbaddaden committed Nov 23, 2016
  2. Drop artifical src/minitest namespace

    ysbaddaden committed Nov 23, 2016
    There is no need for virtual namespaces in Crystal dependencies. The
    shard name already does the job.