minitest-reporters 0.14.6 → 0.14.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -11,28 +11,36 @@ Death to haphazard monkey-patching! Extend MiniTest through simple hooks.
11
11
 
12
12
  In your `test_helper.rb` file, add the following lines:
13
13
 
14
- require "minitest/reporters"
15
- MiniTest::Reporters.use!
14
+ ```ruby
15
+ require "minitest/reporters"
16
+ MiniTest::Reporters.use!
17
+ ```
16
18
 
17
19
  This will swap out the MiniTest runner to the custom one used by minitest-reporters and use the correct reporters for Textmate, Rubymine, and the console. If you would like to write your own reporter, just `include MiniTest::Reporter` and override the methods you'd like. Take a look at the provided reporters for examples.
18
20
 
19
21
  Don't like the default progress bar reporter?
20
22
 
21
- MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new
23
+ ```ruby
24
+ MiniTest::Reporters.use! MiniTest::Reporters::SpecReporter.new
25
+ ```
22
26
 
23
27
  Want to use multiple reporters?
24
28
 
25
- MiniTest::Reporters.use! [MiniTest::Reporters::SpecReporter.new, MiniTest::Reporters::GuardReporter.new]
29
+ ```ruby
30
+ MiniTest::Reporters.use! [MiniTest::Reporters::SpecReporter.new, MiniTest::Reporters::GuardReporter.new]
31
+ ```
26
32
 
27
33
  The following reporters are provided:
28
34
 
29
- MiniTest::Reporters::DefaultReporter # => Redgreen version of standard MiniTest reporter
30
- MiniTest::Reporters::SpecReporter # => Turn-like output that reads like a spec
31
- MiniTest::Reporters::ProgressReporter # => Fuubar-like output with a progress bar
32
- MiniTest::Reporters::RubyMateReporter # => Simple reporter designed for RubyMate
33
- MiniTest::Reporters::RubyMineReporter # => Reporter designed for RubyMine IDE and TeamCity CI server
34
- MiniTest::Reporters::GuardReporter # => Integrates with guard-minitest to provide on-screen notifications
35
- MiniTest::Reporters::JUnitReporter # => JUnit test reporter designed for JetBrains TeamCity
35
+ ```ruby
36
+ MiniTest::Reporters::DefaultReporter # => Redgreen version of standard MiniTest reporter
37
+ MiniTest::Reporters::SpecReporter # => Turn-like output that reads like a spec
38
+ MiniTest::Reporters::ProgressReporter # => Fuubar-like output with a progress bar
39
+ MiniTest::Reporters::RubyMateReporter # => Simple reporter designed for RubyMate
40
+ MiniTest::Reporters::RubyMineReporter # => Reporter designed for RubyMine IDE and TeamCity CI server
41
+ MiniTest::Reporters::GuardReporter # => Integrates with guard-minitest to provide on-screen notifications
42
+ MiniTest::Reporters::JUnitReporter # => JUnit test reporter designed for JetBrains TeamCity
43
+ ```
36
44
 
37
45
  ## Note on Patches/Pull Requests ##
38
46
 
@@ -25,6 +25,8 @@ module MiniTest
25
25
  end
26
26
 
27
27
  def _run_suites(suites, type)
28
+ output.puts "# Run options: #{@help}"
29
+
28
30
  @suites_start_time = Time.now
29
31
  count_tests!(suites, type)
30
32
  trigger_callback(:before_suites, suites, type)
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Reporters
3
- VERSION = "0.14.6"
3
+ VERSION = "0.14.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-reporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.6
4
+ version: 0.14.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-24 00:00:00.000000000 Z
12
+ date: 2013-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -164,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  segments:
166
166
  - 0
167
- hash: -1921564833427206097
167
+ hash: -1014601908327650924
168
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
169
  none: false
170
170
  requirements:
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  segments:
175
175
  - 0
176
- hash: -1921564833427206097
176
+ hash: -1014601908327650924
177
177
  requirements: []
178
178
  rubyforge_project: minitest-reporters
179
179
  rubygems_version: 1.8.24