turn 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.txt +32 -0
- metadata +3 -2
data/README.txt
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
|
2
|
+
= TURN -- Test::Unit Reporter (New)
|
3
|
+
|
4
|
+
TURN is a new way to view Test::Unit results. With longer running tests, it
|
5
|
+
can be very frustrating to see a failure (....F...) and then have to wait till
|
6
|
+
all the tests finish before you can see what the exact failure was. TURN
|
7
|
+
displays each test on a separate line with failures being displayed
|
8
|
+
immediately instead of at the end of the tests.
|
9
|
+
|
10
|
+
If you have the 'facets' gem installed, then TURN output will be displayed in
|
11
|
+
wonderful technicolor (but only if your terminal supports ANSI color codes).
|
12
|
+
|
13
|
+
== Usage
|
14
|
+
|
15
|
+
Simply require the TURN package from within your test suite.
|
16
|
+
|
17
|
+
require 'turn'
|
18
|
+
|
19
|
+
This will configure Test::Unit to use TURN formatting for displaying test
|
20
|
+
restuls. A better line to use, though, is the following:
|
21
|
+
|
22
|
+
begin; require 'turn'; rescue LoadError; end
|
23
|
+
|
24
|
+
When you distribute your code, the test suite can be run without requiring
|
25
|
+
the end user to install the TURN package.
|
26
|
+
|
27
|
+
For a Rails application, put the require line into the 'test/test_helper.rb'
|
28
|
+
scipt. Now your Rails tests will use TURN formatting.
|
29
|
+
|
30
|
+
=== Author
|
31
|
+
|
32
|
+
Tim Pease
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: turn
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2006-11-
|
6
|
+
version: 0.1.2
|
7
|
+
date: 2006-11-13 00:00:00 -07:00
|
8
8
|
summary: Test::Unit Reporter New -- new output format for Test::Unit
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -29,6 +29,7 @@ post_install_message:
|
|
29
29
|
authors:
|
30
30
|
- Tim Pease
|
31
31
|
files:
|
32
|
+
- README.txt
|
32
33
|
- lib/turn.rb
|
33
34
|
test_files: []
|
34
35
|
|