-
Notifications
You must be signed in to change notification settings - Fork 66
Release Notes
-
Add version in code and cli option to diplay it.
-
Fix for files lookup controller bug
-
Limit default test matching to *.rb files.
-
Show first line from the test file when showing stack traces [F. Morgan Whitney]
-
Make minitest output compatible with natural language case naming [David Heinemeier Hansson]
-
Fix misspelling of “raised” which prevented proper recording of errors.
-
Fix IsoRunner so it passes error, not just error message.
-
Mintest support
-
Two new reporters
-
Copied String#tab from Facets.
-
Facets is no longer needed as direct dependency.
-
Fix typo and potential bug.
-
Running ruby with /usr/bin/env for portability
-
Adding –name=PATTERN for test name filtering
-
ANSI class is all caps
-
Fixing require statements
-
Detecting rails environment and adjusting output accordingly
-
Colorizing the filename
The facets/ansicode.rb library has been spun off as a separate project called ‘ansi’. So this version swaps out its optional color support for the new project as well. You can install it via:
gem install ansi
You might want to take at the library, it has a few other interesting ANSI-related classes as well.
Turn 0.6 is now compatible with Test/Unit 2.0.
A instance variable name change made between 1.x and 2.0 series of test/unit prevent the Turn modified Testrunner from working correctly.
Other than that this release is the same as the 0.5.1 release.
As of 0.5.0, Turn has some signifficant new features:
While Turn still provides the exact same functionality for running tests via ruby or testrb as previous versions. The turn commandline utility has been completely rewritten with expanded capabilites.
The turn command now features three run modes:
-
Solo runner for running each test file in a separate process.
-
Cross runner for running test file pairs in separate processes.
-
Normal runner, which of course runs all test in a single process.
It also support three report modes:
-
Progress reporter which uses a progress bar.
-
Minimal reporter which provides traditional “dot” progress.
-
Outline reporter populaized by turn.
The is also a special Marshal Mode which dumps test results as YAML. And the underlying API makes it easy create new reporters.
To get a quick rundown on how to use the new commandline:
$ turn --help