specdown 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.markdown
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
## CHANGELOG
|
2
2
|
|
3
|
+
## 0.1.1 (2012/01/02)
|
4
|
+
|
5
|
+
Bug fix: better report formatting for multi-markdown test suites.
|
6
|
+
|
3
7
|
## 0.1.0 (2012/01/01)
|
4
8
|
|
5
9
|
Better Sandboxing of tests, with support for configuring the expectation/assertion framework (RSpec Expectations and Test::Unit asserstions supported)
|
data/README.markdown
CHANGED
@@ -162,7 +162,7 @@ You can now use [Test::Unit::Assertions](http://www.ruby-doc.org/stdlib-1.9.3/li
|
|
162
162
|
|
163
163
|
## TODO
|
164
164
|
|
165
|
-
This library is the result of
|
165
|
+
This library is the result of just a couple of days worth of work. It's a basic minimum viable product, but there are tons of features I want to implement. Here's what's on my immediate horizon:
|
166
166
|
|
167
167
|
* Better stack traces / reporting
|
168
168
|
* Test hooks (before/after/around)
|
data/lib/specdown/command.rb
CHANGED
@@ -6,16 +6,12 @@ module Specdown
|
|
6
6
|
|
7
7
|
def execute
|
8
8
|
run
|
9
|
-
|
9
|
+
Specdown::EventServer.event :command_complete, @results
|
10
10
|
end
|
11
11
|
|
12
12
|
private
|
13
13
|
def run
|
14
14
|
@results = @markdowns.map {|markdown| Runner.new(markdown).run.stats}
|
15
15
|
end
|
16
|
-
|
17
|
-
def report
|
18
|
-
puts Specdown::Report.new(@results).generate
|
19
|
-
end
|
20
16
|
end
|
21
17
|
end
|
data/lib/specdown.rb
CHANGED
@@ -7,6 +7,7 @@ require 'specdown/runner/report'
|
|
7
7
|
require 'specdown/runner/stats'
|
8
8
|
require 'specdown/command'
|
9
9
|
require 'specdown/event_server'
|
10
|
+
require 'specdown/event_handlers/command_complete'
|
10
11
|
require 'specdown/event_handlers/run_complete'
|
11
12
|
require 'specdown/event_handlers/run_started'
|
12
13
|
require 'specdown/event_handlers/test_failed'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Parker
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-01-
|
18
|
+
date: 2012-01-02 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: kramdown
|
@@ -73,6 +73,7 @@ extra_rdoc_files:
|
|
73
73
|
files:
|
74
74
|
- lib/specdown/command.rb
|
75
75
|
- lib/specdown/config.rb
|
76
|
+
- lib/specdown/event_handlers/command_complete.rb
|
76
77
|
- lib/specdown/event_handlers/run_complete.rb
|
77
78
|
- lib/specdown/event_handlers/run_started.rb
|
78
79
|
- lib/specdown/event_handlers/test_failed.rb
|