guard-test 0.3.0.rc5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +69 -0
- data/README.md +13 -17
- data/lib/guard/test/version.rb +1 -1
- metadata +12 -8
data/CHANGELOG.md
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
## 0.3.0.rc5 - June 9, 2011 - ([@rymai][])
|
2
|
+
|
3
|
+
### Bugs fixes:
|
4
|
+
|
5
|
+
- Fixed bug that was preventing tests from running. ([@rymai][])
|
6
|
+
- Fixed the `fastfail` runner that was displaying a green dot even for a failing test. ([@rymai][])
|
7
|
+
- Removed the `:notification` option. Use the new Guard method instead. ([@rymai][])
|
8
|
+
|
9
|
+
### New features:
|
10
|
+
|
11
|
+
- Turn seems to work fine now... ([@rymai][])
|
12
|
+
|
13
|
+
### Improvement:
|
14
|
+
|
15
|
+
- Consider 'test_*.rb' as test files as well. ([@uk-ar][])
|
16
|
+
|
17
|
+
## 0.3.0.rc4 - June 3, 2011 - ([@rymai][])
|
18
|
+
|
19
|
+
### Bugs fixes:
|
20
|
+
|
21
|
+
- Add a require that was making the guard be fired by Guard! :'(
|
22
|
+
|
23
|
+
## 0.3.0.rc3 - June 3, 2011 - ([@rymai][])
|
24
|
+
|
25
|
+
### Bugs fixes:
|
26
|
+
|
27
|
+
- Actually make the tests run.
|
28
|
+
|
29
|
+
### Regression:
|
30
|
+
|
31
|
+
- Turn doesn't want to run, so remove sentences that say that it is supported for now. Note: The code is still here, only the command line doesn't seem to output anything...
|
32
|
+
|
33
|
+
## 0.3.0.rc2 - June 2, 2011 - ([@rymai][])
|
34
|
+
|
35
|
+
### New features:
|
36
|
+
|
37
|
+
- New `:cli` option (nil by default) to pass arbitrary CLI arguments to the Ruby/Turn command that runs the tests.
|
38
|
+
- New `:notification` option (true by default) to disable notification (Growl/Inotify).
|
39
|
+
- New `:all_on_start` option (true by default) to not run all the tests at startup.
|
40
|
+
- New `:all_after_pass` option (true by default) to run all tests after changed tests pass.
|
41
|
+
- New `:keep_failed` option (true by default) to keep failed tests until them pass.
|
42
|
+
|
43
|
+
### Improvement:
|
44
|
+
|
45
|
+
- Added compatibility with 1.8.6, 1.8.7, 1.9.2, REE, Rubinius and JRuby.
|
46
|
+
- Internal changes inspired by [guard-minitest](https://github.com/guard/guard-minitest).
|
47
|
+
|
48
|
+
## 0.1.6 - January 24, 2011
|
49
|
+
|
50
|
+
### Bugs fixes:
|
51
|
+
|
52
|
+
- Issue [#2](https://github.com/guard/guard-test/issues/2): Fixed a bug introduced in 0.1.5 where test/ was not added to the $LOAD_PATH. (reported by [@jgrau][], fixed by [@rymai][])
|
53
|
+
|
54
|
+
## 0.1.5 - January 21, 2011
|
55
|
+
|
56
|
+
### Changes:
|
57
|
+
|
58
|
+
- Updated gem dependencies
|
59
|
+
|
60
|
+
## 0.1.4 - December 15, 2010
|
61
|
+
|
62
|
+
### Bugs fixes:
|
63
|
+
|
64
|
+
- Pull request [#1](https://github.com/guard/guard-test/pull/1): Include errors count to determine the "flag" to display in notification. ([@gregorymostizky][])
|
65
|
+
|
66
|
+
[@gregorymostizky]: https://github.com/gregorymostizky
|
67
|
+
[@jgrau]: https://github.com/jgrau
|
68
|
+
[@rymai]: https://github.com/rymai
|
69
|
+
[@uk-ar]: https://github.com/uk-ar
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Test::Unit guard allows to automatically & intelligently launch tests when files are modified or created.
|
4
4
|
|
5
|
-
If you have any questions
|
5
|
+
If you have any questions about Guard or Guard::Test, please join us on our [Google group](http://groups.google.com/group/guard-dev) or on `#guard` (irc.freenode.net).
|
6
6
|
|
7
7
|
## Features
|
8
8
|
|
@@ -49,9 +49,9 @@ Guard::Test can be adapted to any kind of projects.
|
|
49
49
|
|
50
50
|
```ruby
|
51
51
|
guard 'test' do
|
52
|
-
watch(%r{lib/(.+)\.rb})
|
53
|
-
watch(%r{test/.+_test\.rb})
|
54
|
-
watch('test/test_helper.rb')
|
52
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
|
53
|
+
watch(%r{^test/.+_test\.rb$})
|
54
|
+
watch('test/test_helper.rb') { "test" }
|
55
55
|
end
|
56
56
|
```
|
57
57
|
|
@@ -59,11 +59,11 @@ end
|
|
59
59
|
|
60
60
|
```ruby
|
61
61
|
guard 'test' do
|
62
|
-
watch(%r{app/models/(.+)\.rb})
|
63
|
-
watch(%r{app/controllers/(.+)\.rb})
|
64
|
-
watch(%r{app/views/.+\.rb})
|
65
|
-
watch(%r{lib/(.+)\.rb})
|
66
|
-
watch(%r{test/.+_test.rb})
|
62
|
+
watch(%r{^app/models/(.+)\.rb$}) { |m| "test/unit/#{m[1]}_test.rb" }
|
63
|
+
watch(%r{^app/controllers/(.+)\.rb$}) { |m| "test/functional/#{m[1]}_test.rb" }
|
64
|
+
watch(%r{^app/views/.+\.rb$}) { "test/integration" }
|
65
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "test/#{m[1]}_test.rb" }
|
66
|
+
watch(%r{^test/.+_test.rb$})
|
67
67
|
watch('app/controllers/application_controller.rb') { ["test/functional", "test/integration"] }
|
68
68
|
watch('test/test_helper.rb') { "test" }
|
69
69
|
end
|
@@ -94,15 +94,11 @@ Available options:
|
|
94
94
|
## Development
|
95
95
|
|
96
96
|
- Source hosted on GitHub: https://github.com/guard/guard-test
|
97
|
-
- Report issues
|
97
|
+
- Report issues and feature requests to GitHub Issues: https://github.com/guard/guard-test/issues
|
98
98
|
|
99
|
-
Pull requests are very welcome!
|
100
|
-
Make sure your patches are well tested.
|
101
|
-
Please create a topic branch for every separate change you make.
|
99
|
+
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make. Please do not change the version in your pull-request.
|
102
100
|
|
103
|
-
|
104
|
-
|
105
|
-
Guard::Test follows [Semantic Versioning](http://semver.org), both SemVer and SemVerTag.
|
101
|
+
For questions please join us on our [Google group](http://groups.google.com/group/guard-dev) or on `#guard` (irc.freenode.net).
|
106
102
|
|
107
103
|
## Author
|
108
104
|
|
@@ -114,4 +110,4 @@ https://github.com/guard/guard-test/contributors
|
|
114
110
|
|
115
111
|
## Kudos
|
116
112
|
|
117
|
-
Many thanks to [Thibaud Guillaume-Gentil](https://github.com/thibaudgg) for creating the excellent Guard gem.
|
113
|
+
Many thanks to [Thibaud Guillaume-Gentil](https://github.com/thibaudgg) for creating the excellent [Guard](https://github.com/guard/guard) gem.
|
data/lib/guard/test/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.3.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.3.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "R\xC3\xA9my Coutable"
|
@@ -10,12 +10,11 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-14 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: guard
|
18
|
-
prerelease: false
|
19
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
19
|
none: false
|
21
20
|
requirements:
|
@@ -23,10 +22,10 @@ dependencies:
|
|
23
22
|
- !ruby/object:Gem::Version
|
24
23
|
version: 0.2.2
|
25
24
|
type: :runtime
|
25
|
+
prerelease: false
|
26
26
|
version_requirements: *id001
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: test-unit
|
29
|
-
prerelease: false
|
30
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
31
30
|
none: false
|
32
31
|
requirements:
|
@@ -34,10 +33,10 @@ dependencies:
|
|
34
33
|
- !ruby/object:Gem::Version
|
35
34
|
version: "2.2"
|
36
35
|
type: :runtime
|
36
|
+
prerelease: false
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: bundler
|
40
|
-
prerelease: false
|
41
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
42
41
|
none: false
|
43
42
|
requirements:
|
@@ -45,10 +44,10 @@ dependencies:
|
|
45
44
|
- !ruby/object:Gem::Version
|
46
45
|
version: "1.0"
|
47
46
|
type: :development
|
47
|
+
prerelease: false
|
48
48
|
version_requirements: *id003
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: rspec
|
51
|
-
prerelease: false
|
52
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
53
52
|
none: false
|
54
53
|
requirements:
|
@@ -56,6 +55,7 @@ dependencies:
|
|
56
55
|
- !ruby/object:Gem::Version
|
57
56
|
version: "2.5"
|
58
57
|
type: :development
|
58
|
+
prerelease: false
|
59
59
|
version_requirements: *id004
|
60
60
|
description: Guard::Test automatically run your tests on file modification.
|
61
61
|
email:
|
@@ -89,10 +89,11 @@ files:
|
|
89
89
|
- lib/guard/test/version.rbc
|
90
90
|
- lib/guard/test.rb
|
91
91
|
- lib/guard/test.rbc
|
92
|
+
- CHANGELOG.md
|
92
93
|
- LICENSE
|
93
94
|
- README.md
|
94
95
|
has_rdoc: true
|
95
|
-
homepage:
|
96
|
+
homepage: https://github.com/guard/guard-test
|
96
97
|
licenses: []
|
97
98
|
|
98
99
|
post_install_message:
|
@@ -105,6 +106,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
106
|
requirements:
|
106
107
|
- - ">="
|
107
108
|
- !ruby/object:Gem::Version
|
109
|
+
hash: 907163475134337955
|
110
|
+
segments:
|
111
|
+
- 0
|
108
112
|
version: "0"
|
109
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
114
|
none: false
|