test-loop 0.0.1 → 0.0.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.md +15 -9
- metadata +5 -5
data/README.md
CHANGED
@@ -8,7 +8,7 @@ and tests changes in your Ruby application in an efficient manner, whereby it:
|
|
8
8
|
2. Forks to evaluate your test files directly and without overhead.
|
9
9
|
|
10
10
|
It relies on file modification times to determine what parts of your Ruby
|
11
|
-
application have changed and then uses Rake's String#pathmap function to
|
11
|
+
application have changed and then uses Rake's `String#pathmap` function to
|
12
12
|
determine which test files in your test suite correspond to those changes.
|
13
13
|
|
14
14
|
|
@@ -19,18 +19,16 @@ Features
|
|
19
19
|
by your application's `test/test_helper.rb` and `spec/spec_helper.rb` files.
|
20
20
|
|
21
21
|
* Tests CHANGES in your Ruby application; does NOT run all tests every time.
|
22
|
-
(You can force it to run all tests by pressing Control-\ in your terminal.)
|
23
22
|
|
24
23
|
* Reabsorbs test execution overhead if the test or spec helper file changes.
|
25
|
-
(You can force it to reabsorb by pressing Control-Z in your terminal.)
|
26
24
|
|
27
25
|
* Mostly I/O bound, so you can have it always running without CPU slowdowns.
|
28
26
|
|
29
27
|
* Implemented in less than 40 (SLOC) lines of code! :-)
|
30
28
|
|
31
29
|
|
32
|
-
|
33
|
-
|
30
|
+
Installation
|
31
|
+
------------
|
34
32
|
|
35
33
|
As a Ruby gem:
|
36
34
|
|
@@ -42,12 +40,20 @@ As a Rails plugin:
|
|
42
40
|
script/plugin install git://github.com/sunaku/test-loop # older Rails
|
43
41
|
|
44
42
|
|
45
|
-
|
46
|
-
|
43
|
+
Invocation
|
44
|
+
----------
|
45
|
+
|
46
|
+
If installed as a Ruby gem:
|
47
|
+
|
48
|
+
test-loop
|
49
|
+
|
50
|
+
If installed as a Rails plugin:
|
51
|
+
|
52
|
+
rake test:loop
|
47
53
|
|
48
|
-
test-loop # if installed as a Ruby gem
|
49
54
|
|
50
|
-
|
55
|
+
Operation
|
56
|
+
---------
|
51
57
|
|
52
58
|
* Press Control-Z to forcibly run all tests, even
|
53
59
|
if there are no changes in your Ruby application.
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Suraj N. Kurapati
|
@@ -14,14 +14,14 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-11 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description:
|
22
22
|
email:
|
23
|
-
executables:
|
24
|
-
|
23
|
+
executables:
|
24
|
+
- test-loop
|
25
25
|
extensions: []
|
26
26
|
|
27
27
|
extra_rdoc_files: []
|