dohtest 0.1.11 → 0.1.12

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.
Files changed (2) hide show
  1. data/lib/doh/test/master_runner.rb +2 -0
  2. metadata +2 -2
@@ -10,12 +10,14 @@ class MasterRunner
10
10
 
11
11
  def run
12
12
  start_time = Time.now
13
+ @config[:pre_test_callback].call(@output) if @config[:pre_test_callback]
13
14
  DohTest::require_paths(@config[:glob], @paths)
14
15
  srand(@config[:seed])
15
16
  @output.run_begin(@config)
16
17
  TestGroup.descendants.each do |group_class|
17
18
  break if GroupRunner.new(group_class, @output, @config).run
18
19
  end
20
+ @config[:post_test_callback].call() if @config[:post_test_callback]
19
21
  @output.run_end(Time.now - start_time)
20
22
  end
21
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dohtest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-22 00:00:00.000000000 Z
13
+ date: 2013-04-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dohroot