guard-phpunit2 0.2.3 → 0.2.6
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.
- checksums.yaml +4 -4
 - checksums.yaml.gz.sig +0 -0
 - data/CHANGELOG.md +5 -1
 - data/README.md +16 -7
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/PHPUnit/Extensions/Progress/ResultPrinter.php +503 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/README.markdown +44 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/_files/Number.php +78 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/_files/NumberTest.php +99 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/_files/emptyTest.php +6 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_basic.phpt +22 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_errors.phpt +27 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_errors_variation.phpt +28 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_failing.phpt +31 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_failing_variation.phpt +32 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_incomplete.phpt +19 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_incomplete_variation.phpt +20 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_passing.phpt +19 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_passing_variation.phpt +20 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_skipped.phpt +19 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_skipped_variation.phpt +20 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/VERSION +2 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/phpunit.xml +4 -0
 - data/lib/guard/phpunit/formatters/PHPUnit-Progress/screenshot.png +0 -0
 - data/lib/guard/phpunit2/formatter.rb +12 -9
 - data/lib/guard/phpunit2/notifier.rb +1 -1
 - data/lib/guard/phpunit2/runner.rb +25 -12
 - data/lib/guard/phpunit2/version.rb +2 -2
 - data/lib/guard/phpunit2.rb +1 -0
 - data/spec/guard/phpunit2/formatter_spec.rb +4 -4
 - data/spec/guard/phpunit2/notifier_spec.rb +4 -4
 - data/spec/guard/phpunit2/runner_spec.rb +11 -3
 - data/spec/guard/phpunit2_spec.rb +4 -0
 - data.tar.gz.sig +0 -0
 - metadata +74 -24
 - metadata.gz.sig +2 -0
 
| 
         @@ -0,0 +1,19 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --TEST--
         
     | 
| 
      
 2 
     | 
    
         
            +
            phpunit Number - Only skipped tests 
         
     | 
| 
      
 3 
     | 
    
         
            +
            --FILE--
         
     | 
| 
      
 4 
     | 
    
         
            +
            <?php
         
     | 
| 
      
 5 
     | 
    
         
            +
            $group     = 'skipped';
         
     | 
| 
      
 6 
     | 
    
         
            +
            $testClass = 'NumberTest';
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            $_SERVER['argv'][1] = '--group';
         
     | 
| 
      
 9 
     | 
    
         
            +
            $_SERVER['argv'][2] = $group;
         
     | 
| 
      
 10 
     | 
    
         
            +
            $_SERVER['argv'][3] = dirname(__FILE__) . "/_files/${testClass}.php";
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            require_once 'PHPUnit/Autoload.php';
         
     | 
| 
      
 13 
     | 
    
         
            +
            PHPUnit_TextUI_Command::main();
         
     | 
| 
      
 14 
     | 
    
         
            +
            ?>
         
     | 
| 
      
 15 
     | 
    
         
            +
            --EXPECTF--
         
     | 
| 
      
 16 
     | 
    
         
            +
            %rS+%r
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            Finished in %i second%S
         
     | 
| 
      
 19 
     | 
    
         
            +
            %i tests, 0 assertions, %i skipped
         
     | 
| 
         @@ -0,0 +1,20 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --TEST--
         
     | 
| 
      
 2 
     | 
    
         
            +
            phpunit Number - Only skipped tests and colors enabled  
         
     | 
| 
      
 3 
     | 
    
         
            +
            --FILE--
         
     | 
| 
      
 4 
     | 
    
         
            +
            <?php
         
     | 
| 
      
 5 
     | 
    
         
            +
            $group     = 'skipped';
         
     | 
| 
      
 6 
     | 
    
         
            +
            $testClass = 'NumberTest';
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            $_SERVER['argv'][1] = '--group';
         
     | 
| 
      
 9 
     | 
    
         
            +
            $_SERVER['argv'][2] = $group;
         
     | 
| 
      
 10 
     | 
    
         
            +
            $_SERVER['argv'][3] = '--colors';
         
     | 
| 
      
 11 
     | 
    
         
            +
            $_SERVER['argv'][4] = dirname(__FILE__) . "/_files/${testClass}.php";
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            require_once 'PHPUnit/Autoload.php';
         
     | 
| 
      
 14 
     | 
    
         
            +
            PHPUnit_TextUI_Command::main();
         
     | 
| 
      
 15 
     | 
    
         
            +
            ?>
         
     | 
| 
      
 16 
     | 
    
         
            +
            --EXPECTF--
         
     | 
| 
      
 17 
     | 
    
         
            +
            [33mS[0m[33mS[0m
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            Finished in %i second%S
         
     | 
| 
      
 20 
     | 
    
         
            +
            [33m2 tests, 0 assertions, 2 skipped[0m
         
     | 
| 
         Binary file 
     | 
| 
         @@ -15,7 +15,7 @@ module Guard 
     | 
|
| 
       15 
15 
     | 
    
         
             
                    #
         
     | 
| 
       16 
16 
     | 
    
         
             
                    def parse_output(text)
         
     | 
| 
       17 
17 
     | 
    
         
             
                      results = {
         
     | 
| 
       18 
     | 
    
         
            -
                        :tests    => look_for_words_in(' 
     | 
| 
      
 18 
     | 
    
         
            +
                        :tests    => look_for_words_in('(?:Tests:|tests)',    text),
         
     | 
| 
       19 
19 
     | 
    
         
             
                        :failures => look_for_words_in('Failures:', text),
         
     | 
| 
       20 
20 
     | 
    
         
             
                        :errors   => look_for_words_in('Errors:', text),
         
     | 
| 
       21 
21 
     | 
    
         
             
                        :pending  => look_for_words_in(['Skipped:', 'Incomplete:'], text),
         
     | 
| 
         @@ -40,11 +40,11 @@ module Guard 
     | 
|
| 
       40 
40 
     | 
    
         
             
                      if text =~ %r{FAILURES} || text =~ %r{OK, but incomplete or skipped tests!}
         
     | 
| 
       41 
41 
     | 
    
         
             
                        strings_list.each do |s|
         
     | 
| 
       42 
42 
     | 
    
         
             
                          text =~ %r{
         
     | 
| 
       43 
     | 
    
         
            -
                            #{s} 
     | 
| 
       44 
     | 
    
         
            -
                             
     | 
| 
      
 43 
     | 
    
         
            +
                            #{s}    # then the string
         
     | 
| 
      
 44 
     | 
    
         
            +
                            \s+     # then a space
         
     | 
| 
       45 
45 
     | 
    
         
             
                            (\d+)   # count of what we are looking for
         
     | 
| 
       46 
46 
     | 
    
         
             
                            .*      # then whatever
         
     | 
| 
       47 
     | 
    
         
            -
                             
     | 
| 
      
 47 
     | 
    
         
            +
                            $      # start looking at the end of the text
         
     | 
| 
       48 
48 
     | 
    
         
             
                          }x
         
     | 
| 
       49 
49 
     | 
    
         
             
                          count += $1.to_i unless $1.nil?
         
     | 
| 
       50 
50 
     | 
    
         
             
                        end
         
     | 
| 
         @@ -52,10 +52,10 @@ module Guard 
     | 
|
| 
       52 
52 
     | 
    
         
             
                        strings_list.each do |s|
         
     | 
| 
       53 
53 
     | 
    
         
             
                          text =~ %r{
         
     | 
| 
       54 
54 
     | 
    
         
             
                            (\d+)   # count of what we are looking for
         
     | 
| 
       55 
     | 
    
         
            -
                             
     | 
| 
       56 
     | 
    
         
            -
                            #{s} 
     | 
| 
      
 55 
     | 
    
         
            +
                            \s+     # then a space
         
     | 
| 
      
 56 
     | 
    
         
            +
                            #{s}    # then the string
         
     | 
| 
       57 
57 
     | 
    
         
             
                            .*      # then whatever
         
     | 
| 
       58 
     | 
    
         
            -
                             
     | 
| 
      
 58 
     | 
    
         
            +
                            $      # start looking at the end of the text
         
     | 
| 
       59 
59 
     | 
    
         
             
                          }x
         
     | 
| 
       60 
60 
     | 
    
         
             
                          count += $1.to_i unless $1.nil?
         
     | 
| 
       61 
61 
     | 
    
         
             
                        end
         
     | 
| 
         @@ -70,8 +70,11 @@ module Guard 
     | 
|
| 
       70 
70 
     | 
    
         
             
                    # @return [Integer] the duration
         
     | 
| 
       71 
71 
     | 
    
         
             
                    #
         
     | 
| 
       72 
72 
     | 
    
         
             
                    def look_for_duration_in(text)
         
     | 
| 
       73 
     | 
    
         
            -
                      text 
     | 
| 
       74 
     | 
    
         
            -
                      $1.nil? ? 0 : $1.to_i
         
     | 
| 
      
 73 
     | 
    
         
            +
                      text      =~ %r{Time: (\d+)\s+(\w+)?.*$}
         
     | 
| 
      
 74 
     | 
    
         
            +
                      time      = $1.nil? ? 0 : $1.to_i
         
     | 
| 
      
 75 
     | 
    
         
            +
                      time_name = $2.nil? ? "sec" : $2
         
     | 
| 
      
 76 
     | 
    
         
            +
             
     | 
| 
      
 77 
     | 
    
         
            +
                      return time, time_name
         
     | 
| 
       75 
78 
     | 
    
         
             
                    end
         
     | 
| 
       76 
79 
     | 
    
         
             
                  end
         
     | 
| 
       77 
80 
     | 
    
         
             
                end
         
     | 
| 
         @@ -43,7 +43,7 @@ module Guard 
     | 
|
| 
       43 
43 
     | 
    
         
             
                      message = "#{results[:tests]} tests, #{results[:failures]} failures"
         
     | 
| 
       44 
44 
     | 
    
         
             
                      message << "\n#{results[:errors]} errors"    if results[:errors]  > 0
         
     | 
| 
       45 
45 
     | 
    
         
             
                      message << " (#{results[:pending]} pending)" if results[:pending] > 0
         
     | 
| 
       46 
     | 
    
         
            -
                      message << "\nin #{results[:duration]}  
     | 
| 
      
 46 
     | 
    
         
            +
                      message << "\nin #{results[:duration].first} #{results[:duration].last}"
         
     | 
| 
       47 
47 
     | 
    
         
             
                      message
         
     | 
| 
       48 
48 
     | 
    
         
             
                    end
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
         @@ -12,11 +12,11 @@ module Guard 
     | 
|
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
                    # The exittcode phpunit returns when the tests contain failures
         
     | 
| 
       14 
14 
     | 
    
         
             
                    #
         
     | 
| 
       15 
     | 
    
         
            -
                    PHPUNIT_FAILURES_EXITCODE =  
     | 
| 
      
 15 
     | 
    
         
            +
                    PHPUNIT_FAILURES_EXITCODE = 1
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
                    # The exittcode phpunit returns when the tests contain errors
         
     | 
| 
       18 
18 
     | 
    
         
             
                    #
         
     | 
| 
       19 
     | 
    
         
            -
                    PHPUNIT_ERRORS_EXITCODE   =  
     | 
| 
      
 19 
     | 
    
         
            +
                    PHPUNIT_ERRORS_EXITCODE   = 2
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                    # Runs the PHPUnit tests and displays notifications
         
     | 
| 
       22 
22 
     | 
    
         
             
                    # about the results.
         
     | 
| 
         @@ -30,8 +30,8 @@ module Guard 
     | 
|
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         
             
                      return false if paths.empty?
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
     | 
    
         
            -
                      unless phpunit_exists?
         
     | 
| 
       34 
     | 
    
         
            -
                        UI.error('phpunit is not installed on your machine.', :reset => true)
         
     | 
| 
      
 33 
     | 
    
         
            +
                      unless phpunit_exists?(options)
         
     | 
| 
      
 34 
     | 
    
         
            +
                        UI.error('the provided php unit command is invalid or phpunit is not installed on your machine.', :reset => true)
         
     | 
| 
       35 
35 
     | 
    
         
             
                        return false
         
     | 
| 
       36 
36 
     | 
    
         
             
                      end
         
     | 
| 
       37 
37 
     | 
    
         | 
| 
         @@ -45,8 +45,11 @@ module Guard 
     | 
|
| 
       45 
45 
     | 
    
         
             
                    #
         
     | 
| 
       46 
46 
     | 
    
         
             
                    # @return [Boolean] The status of phpunit
         
     | 
| 
       47 
47 
     | 
    
         
             
                    #
         
     | 
| 
       48 
     | 
    
         
            -
                    def phpunit_exists?
         
     | 
| 
       49 
     | 
    
         
            -
                       
     | 
| 
      
 48 
     | 
    
         
            +
                    def phpunit_exists?(options)
         
     | 
| 
      
 49 
     | 
    
         
            +
                      command = "phpunit"
         
     | 
| 
      
 50 
     | 
    
         
            +
                      command = options[:command] if options[:command]
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                      `#{command} --version`
         
     | 
| 
       50 
53 
     | 
    
         
             
                      true
         
     | 
| 
       51 
54 
     | 
    
         
             
                    rescue Errno::ENOENT
         
     | 
| 
       52 
55 
     | 
    
         
             
                      false
         
     | 
| 
         @@ -70,20 +73,23 @@ module Guard 
     | 
|
| 
       70 
73 
     | 
    
         
             
                          output = execute_command phpunit_command(tests_folder, options)
         
     | 
| 
       71 
74 
     | 
    
         
             
                        end
         
     | 
| 
       72 
75 
     | 
    
         
             
                      end
         
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
      
 76 
     | 
    
         
            +
                      
         
     | 
| 
       74 
77 
     | 
    
         
             
                      # print the output to the terminal
         
     | 
| 
       75 
78 
     | 
    
         
             
                      puts output
         
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
      
 79 
     | 
    
         
            +
                      
         
     | 
| 
       77 
80 
     | 
    
         
             
                      # return false in case the system call fails with no status!
         
     | 
| 
       78 
81 
     | 
    
         
             
                      return false if $?.nil?
         
     | 
| 
       79 
82 
     | 
    
         | 
| 
       80 
     | 
    
         
            -
                       
     | 
| 
      
 83 
     | 
    
         
            +
                      # capture success so that if notifications alter the status stored in $? we still return the correct value
         
     | 
| 
      
 84 
     | 
    
         
            +
                      success = $?.success?
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                      if success or tests_contain_failures? or tests_contain_errors?
         
     | 
| 
       81 
87 
     | 
    
         
             
                        notify_results(output, options)
         
     | 
| 
       82 
88 
     | 
    
         
             
                      else
         
     | 
| 
       83 
89 
     | 
    
         
             
                        notify_failure(options)
         
     | 
| 
       84 
90 
     | 
    
         
             
                      end
         
     | 
| 
       85 
91 
     | 
    
         | 
| 
       86 
     | 
    
         
            -
                       
     | 
| 
      
 92 
     | 
    
         
            +
                      success
         
     | 
| 
       87 
93 
     | 
    
         
             
                    end
         
     | 
| 
       88 
94 
     | 
    
         | 
| 
       89 
95 
     | 
    
         
             
                    # Displays the start testing notification.
         
     | 
| 
         @@ -169,8 +175,15 @@ module Guard 
     | 
|
| 
       169 
175 
     | 
    
         
             
                    # @see #run_tests
         
     | 
| 
       170 
176 
     | 
    
         
             
                    #
         
     | 
| 
       171 
177 
     | 
    
         
             
                    def phpunit_command(path, options)
         
     | 
| 
      
 178 
     | 
    
         
            +
                      formatter_path = File.expand_path( File.join( File.dirname(__FILE__), '..', 'phpunit', 'formatters', 'PHPUnit-Progress') )
         
     | 
| 
      
 179 
     | 
    
         
            +
                      
         
     | 
| 
      
 180 
     | 
    
         
            +
                      command = "phpunit"
         
     | 
| 
      
 181 
     | 
    
         
            +
                      command = options[:command] if options[:command]
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
       172 
183 
     | 
    
         
             
                      cmd_parts = []
         
     | 
| 
       173 
     | 
    
         
            -
                      cmd_parts <<  
     | 
| 
      
 184 
     | 
    
         
            +
                      cmd_parts << command
         
     | 
| 
      
 185 
     | 
    
         
            +
                      cmd_parts << "--include-path #{formatter_path}"
         
     | 
| 
      
 186 
     | 
    
         
            +
                      cmd_parts << "--printer PHPUnit_Extensions_Progress_ResultPrinter"
         
     | 
| 
       174 
187 
     | 
    
         
             
                      cmd_parts << options[:cli] if options[:cli]
         
     | 
| 
       175 
188 
     | 
    
         
             
                      cmd_parts << path
         
     | 
| 
       176 
189 
     | 
    
         | 
| 
         @@ -188,4 +201,4 @@ module Guard 
     | 
|
| 
       188 
201 
     | 
    
         
             
                  end
         
     | 
| 
       189 
202 
     | 
    
         
             
                end
         
     | 
| 
       190 
203 
     | 
    
         
             
              end
         
     | 
| 
       191 
     | 
    
         
            -
            end
         
     | 
| 
      
 204 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/guard/phpunit2.rb
    CHANGED
    
    
| 
         @@ -8,7 +8,7 @@ describe Guard::PHPUnit2::Formatter do 
     | 
|
| 
       8 
8 
     | 
    
         
             
                    subject.parse_output(output).should == {
         
     | 
| 
       9 
9 
     | 
    
         
             
                      :tests  => 2, :failures => 0,
         
     | 
| 
       10 
10 
     | 
    
         
             
                      :errors => 0, :pending  => 0,
         
     | 
| 
       11 
     | 
    
         
            -
                      :duration => 0
         
     | 
| 
      
 11 
     | 
    
         
            +
                      :duration => [0, "seconds"]
         
     | 
| 
       12 
12 
     | 
    
         
             
                    }
         
     | 
| 
       13 
13 
     | 
    
         
             
                  end
         
     | 
| 
       14 
14 
     | 
    
         
             
                end
         
     | 
| 
         @@ -19,7 +19,7 @@ describe Guard::PHPUnit2::Formatter do 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    subject.parse_output(output).should == {
         
     | 
| 
       20 
20 
     | 
    
         
             
                      :tests  => 2, :failures => 2,
         
     | 
| 
       21 
21 
     | 
    
         
             
                      :errors => 0, :pending  => 0,
         
     | 
| 
       22 
     | 
    
         
            -
                      :duration => 0
         
     | 
| 
      
 22 
     | 
    
         
            +
                      :duration => [0, "seconds"]
         
     | 
| 
       23 
23 
     | 
    
         
             
                    }
         
     | 
| 
       24 
24 
     | 
    
         
             
                  end
         
     | 
| 
       25 
25 
     | 
    
         
             
                end
         
     | 
| 
         @@ -30,7 +30,7 @@ describe Guard::PHPUnit2::Formatter do 
     | 
|
| 
       30 
30 
     | 
    
         
             
                    subject.parse_output(output).should == {
         
     | 
| 
       31 
31 
     | 
    
         
             
                      :tests  => 3, :failures => 0,
         
     | 
| 
       32 
32 
     | 
    
         
             
                      :errors => 0, :pending  => 3,
         
     | 
| 
       33 
     | 
    
         
            -
                      :duration => 0
         
     | 
| 
      
 33 
     | 
    
         
            +
                      :duration => [0, "seconds"]
         
     | 
| 
       34 
34 
     | 
    
         
             
                    }
         
     | 
| 
       35 
35 
     | 
    
         
             
                  end
         
     | 
| 
       36 
36 
     | 
    
         
             
                end
         
     | 
| 
         @@ -41,7 +41,7 @@ describe Guard::PHPUnit2::Formatter do 
     | 
|
| 
       41 
41 
     | 
    
         
             
                    subject.parse_output(output).should == {
         
     | 
| 
       42 
42 
     | 
    
         
             
                      :tests  => 13, :failures => 3,
         
     | 
| 
       43 
43 
     | 
    
         
             
                      :errors => 1, :pending  => 3,
         
     | 
| 
       44 
     | 
    
         
            -
                      :duration => 2
         
     | 
| 
      
 44 
     | 
    
         
            +
                      :duration => [2, "seconds"]
         
     | 
| 
       45 
45 
     | 
    
         
             
                    }
         
     | 
| 
       46 
46 
     | 
    
         
             
                  end
         
     | 
| 
       47 
47 
     | 
    
         
             
                end
         
     | 
| 
         @@ -22,7 +22,7 @@ describe Guard::PHPUnit2::Notifier do 
     | 
|
| 
       22 
22 
     | 
    
         
             
                    subject.notify_results(
         
     | 
| 
       23 
23 
     | 
    
         
             
                      :tests  => 10, :failures => 0,
         
     | 
| 
       24 
24 
     | 
    
         
             
                      :errors => 0, :pending  => 0,
         
     | 
| 
       25 
     | 
    
         
            -
                      :duration => 5
         
     | 
| 
      
 25 
     | 
    
         
            +
                      :duration => [5, "seconds"]
         
     | 
| 
       26 
26 
     | 
    
         
             
                    )
         
     | 
| 
       27 
27 
     | 
    
         
             
                  end
         
     | 
| 
       28 
28 
     | 
    
         
             
                end
         
     | 
| 
         @@ -36,7 +36,7 @@ describe Guard::PHPUnit2::Notifier do 
     | 
|
| 
       36 
36 
     | 
    
         
             
                    subject.notify_results(
         
     | 
| 
       37 
37 
     | 
    
         
             
                      :tests  => 10, :failures => 3,
         
     | 
| 
       38 
38 
     | 
    
         
             
                      :errors => 4, :pending  => 0,
         
     | 
| 
       39 
     | 
    
         
            -
                      :duration => 6
         
     | 
| 
      
 39 
     | 
    
         
            +
                      :duration => [6, "seconds"]
         
     | 
| 
       40 
40 
     | 
    
         
             
                    )
         
     | 
| 
       41 
41 
     | 
    
         
             
                  end
         
     | 
| 
       42 
42 
     | 
    
         
             
                end
         
     | 
| 
         @@ -51,7 +51,7 @@ describe Guard::PHPUnit2::Notifier do 
     | 
|
| 
       51 
51 
     | 
    
         
             
                    subject.notify_results(
         
     | 
| 
       52 
52 
     | 
    
         
             
                      :tests  => 10, :failures => 0,
         
     | 
| 
       53 
53 
     | 
    
         
             
                      :errors => 0, :pending  => 2,
         
     | 
| 
       54 
     | 
    
         
            -
                      :duration => 4
         
     | 
| 
      
 54 
     | 
    
         
            +
                      :duration => [4, "seconds"]
         
     | 
| 
       55 
55 
     | 
    
         
             
                    )
         
     | 
| 
       56 
56 
     | 
    
         
             
                  end
         
     | 
| 
       57 
57 
     | 
    
         | 
| 
         @@ -64,7 +64,7 @@ describe Guard::PHPUnit2::Notifier do 
     | 
|
| 
       64 
64 
     | 
    
         
             
                    subject.notify_results(
         
     | 
| 
       65 
65 
     | 
    
         
             
                      :tests  => 10, :failures => 0,
         
     | 
| 
       66 
66 
     | 
    
         
             
                      :errors => 3, :pending  => 2,
         
     | 
| 
       67 
     | 
    
         
            -
                      :duration => 4
         
     | 
| 
      
 67 
     | 
    
         
            +
                      :duration => [4, "seconds"]
         
     | 
| 
       68 
68 
     | 
    
         
             
                    )
         
     | 
| 
       69 
69 
     | 
    
         
             
                  end
         
     | 
| 
       70 
70 
     | 
    
         
             
                end
         
     | 
| 
         @@ -32,7 +32,7 @@ describe Guard::PHPUnit2::Runner do 
     | 
|
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
                  it 'displays an error when phpunit is not installed' do
         
     | 
| 
       34 
34 
     | 
    
         
             
                    subject.stub(:phpunit_exists?).and_return(false)
         
     | 
| 
       35 
     | 
    
         
            -
                    ui.should_receive(:error).with('phpunit is not installed on your machine.', anything)
         
     | 
| 
      
 35 
     | 
    
         
            +
                    ui.should_receive(:error).with('the provided php unit command is invalid or phpunit is not installed on your machine.', anything)
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
                    subject.run( ['tests'] )
         
     | 
| 
       38 
38 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -49,12 +49,20 @@ describe Guard::PHPUnit2::Runner do 
     | 
|
| 
       49 
49 
     | 
    
         
             
                    subject.run( ['tests'] )
         
     | 
| 
       50 
50 
     | 
    
         
             
                  end
         
     | 
| 
       51 
51 
     | 
    
         | 
| 
      
 52 
     | 
    
         
            +
                  it 'runs phpunit tests with provided command' do
         
     | 
| 
      
 53 
     | 
    
         
            +
                    formatter_path = @project_path.join('lib', 'guard', 'phpunit', 'formatters', 'PHPUnit-Progress')
         
     | 
| 
      
 54 
     | 
    
         
            +
                    subject.should_receive(:execute_command).with(
         
     | 
| 
      
 55 
     | 
    
         
            +
                      %r{^/usr/local/bin/phpunit --include-path #{formatter_path} --printer PHPUnit_Extensions_Progress_ResultPrinter .+$}
         
     | 
| 
      
 56 
     | 
    
         
            +
                    ).and_return(true)
         
     | 
| 
      
 57 
     | 
    
         
            +
                    subject.run( ['tests'] , {:command => '/usr/local/bin/phpunit'} )
         
     | 
| 
      
 58 
     | 
    
         
            +
                  end
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
       52 
60 
     | 
    
         
             
                  it 'prints the tests output to the console' do
         
     | 
| 
       53 
61 
     | 
    
         
             
                      output = load_phpunit_output('passing')
         
     | 
| 
       54 
62 
     | 
    
         
             
                      subject.stub(:notify_start)
         
     | 
| 
       55 
63 
     | 
    
         
             
                      subject.stub(:execute_command).and_return(output)
         
     | 
| 
       56 
64 
     | 
    
         | 
| 
       57 
     | 
    
         
            -
                      ui.should_receive(:info).with(output)
         
     | 
| 
      
 65 
     | 
    
         
            +
                      #ui.should_receive(:info).with(output)
         
     | 
| 
       58 
66 
     | 
    
         | 
| 
       59 
67 
     | 
    
         
             
                      subject.run( ['tests'] )
         
     | 
| 
       60 
68 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -127,7 +135,7 @@ describe Guard::PHPUnit2::Runner do 
     | 
|
| 
       127 
135 
     | 
    
         
             
                      it 'runs with CLI options passed to PHPUnit' do
         
     | 
| 
       128 
136 
     | 
    
         
             
                        cli_options = '--colors --verbose'
         
     | 
| 
       129 
137 
     | 
    
         
             
                        subject.should_receive(:execute_command).with(
         
     | 
| 
       130 
     | 
    
         
            -
                          %r{^phpunit #{cli_options} .+$}
         
     | 
| 
      
 138 
     | 
    
         
            +
                          %r{^phpunit --include-path .* --printer .* #{cli_options} .+$}
         
     | 
| 
       131 
139 
     | 
    
         
             
                        ).and_return(true)
         
     | 
| 
       132 
140 
     | 
    
         
             
                        subject.run( ['tests'], :cli => cli_options )
         
     | 
| 
       133 
141 
     | 
    
         
             
                      end
         
     | 
    
        data/spec/guard/phpunit2_spec.rb
    CHANGED
    
    | 
         @@ -23,6 +23,10 @@ describe Guard::PHPUnit2 do 
     | 
|
| 
       23 
23 
     | 
    
         
             
                  it 'sets a default :tests_path option' do
         
     | 
| 
       24 
24 
     | 
    
         
             
                    subject.options[:tests_path].should == @project_path.to_s
         
     | 
| 
       25 
25 
     | 
    
         
             
                  end
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                  it 'sets a default :notification option' do
         
     | 
| 
      
 28 
     | 
    
         
            +
                    subject.options[:notification].should be_true
         
     | 
| 
      
 29 
     | 
    
         
            +
                  end
         
     | 
| 
       26 
30 
     | 
    
         
             
                end
         
     | 
| 
       27 
31 
     | 
    
         | 
| 
       28 
32 
     | 
    
         
             
                context 'when other options are provided' do
         
     | 
    
        data.tar.gz.sig
    ADDED
    
    | 
         Binary file 
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,112 +1,141 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: guard-phpunit2
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.6
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Maher Sallam
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Ramon Soares
         
     | 
| 
      
 9 
     | 
    
         
            +
            - Marek Kalnik
         
     | 
| 
       9 
10 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
11 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
     | 
    
         
            -
            cert_chain: 
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
      
 12 
     | 
    
         
            +
            cert_chain:
         
     | 
| 
      
 13 
     | 
    
         
            +
            - |
         
     | 
| 
      
 14 
     | 
    
         
            +
              -----BEGIN CERTIFICATE-----
         
     | 
| 
      
 15 
     | 
    
         
            +
              MIIDfDCCAmSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBCMQ4wDAYDVQQDDAVyYW1v
         
     | 
| 
      
 16 
     | 
    
         
            +
              bjEbMBkGCgmSJomT8ixkARkWC2NvZGVjcmFmdDYzMRMwEQYKCZImiZPyLGQBGRYD
         
     | 
| 
      
 17 
     | 
    
         
            +
              Y29tMB4XDTEzMDMyNzE3NDEyOVoXDTE0MDMyNzE3NDEyOVowQjEOMAwGA1UEAwwF
         
     | 
| 
      
 18 
     | 
    
         
            +
              cmFtb24xGzAZBgoJkiaJk/IsZAEZFgtjb2RlY3JhZnQ2MzETMBEGCgmSJomT8ixk
         
     | 
| 
      
 19 
     | 
    
         
            +
              ARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANMe6/bxj0lU
         
     | 
| 
      
 20 
     | 
    
         
            +
              QJBEAPZg6YDvjo/by2I62ww7wUgd9Yh5gOFe0uxhrr4bOCRADhhC4icYow1NZ8Ju
         
     | 
| 
      
 21 
     | 
    
         
            +
              sGKhTGHRGg8G+btt4GjfuBKYylCyqwVc2okk4Ucqghn9ls2xMvchjGhQcz7cQWiZ
         
     | 
| 
      
 22 
     | 
    
         
            +
              XBfffGikJEwclkpdr4mRgm4TaBzkZUF029axX6YM7G5AbBcYfbHwSss+fLsXB1t9
         
     | 
| 
      
 23 
     | 
    
         
            +
              bU07BDLV6KSnFjn/6Gj9CrZpw3G0TCunTvB6UjcZIoBqXeWz6z9XJX+GhyaZGCjQ
         
     | 
| 
      
 24 
     | 
    
         
            +
              R1rXqqEfSRwsG31ibcTTFrqtoyTkzmz33h5LbMZZdLoMpeEFggkY0cQBUY4sGYK/
         
     | 
| 
      
 25 
     | 
    
         
            +
              jrbnzdwgwtsCAwEAAaN9MHswCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
         
     | 
| 
      
 26 
     | 
    
         
            +
              BBYEFIcHXF/pGBCu96efKVZ3eH10IgSxMCAGA1UdEQQZMBeBFXJhbW9uQGNvZGVj
         
     | 
| 
      
 27 
     | 
    
         
            +
              cmFmdDYzLmNvbTAgBgNVHRIEGTAXgRVyYW1vbkBjb2RlY3JhZnQ2My5jb20wDQYJ
         
     | 
| 
      
 28 
     | 
    
         
            +
              KoZIhvcNAQEFBQADggEBAJ1v3i31c1ADsx4eWX+RPYLbZK0y9je4EDbswsE7owWJ
         
     | 
| 
      
 29 
     | 
    
         
            +
              gDmVZFa9LYzLTQf0ouR4yb3W5nwEkPl6VDGkSSwmGeGzAj+Z+MQgLRz3PP1IRKji
         
     | 
| 
      
 30 
     | 
    
         
            +
              +UZWMqM5Mv3aIkTEmAGitRjSfi6RpQiBG0L24hJ66dw5KrQp2dUOdUf3tR+KWv90
         
     | 
| 
      
 31 
     | 
    
         
            +
              Uoz3nIfPvMYkUOYxNWdC/uxQf7VNR3eXerjGLKskvrjBgP3kjytvmlEvido8OwKm
         
     | 
| 
      
 32 
     | 
    
         
            +
              tfg0X0xrfUfUjJj8Ttd2n6fUss+S/H631xMHWA19shwEvey1SKOdCCvMjpV1rwup
         
     | 
| 
      
 33 
     | 
    
         
            +
              7g4EOpFUXKG2E+5vow3VDEqcOhfQYvQ8UB3Of3FOp2o=
         
     | 
| 
      
 34 
     | 
    
         
            +
              -----END CERTIFICATE-----
         
     | 
| 
      
 35 
     | 
    
         
            +
            date: 2014-02-01 00:00:00.000000000 Z
         
     | 
| 
       13 
36 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
37 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
38 
     | 
    
         
             
              name: guard
         
     | 
| 
       16 
39 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       17 
40 
     | 
    
         
             
                requirements:
         
     | 
| 
       18 
     | 
    
         
            -
                - -  
     | 
| 
      
 41 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       19 
42 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       20 
43 
     | 
    
         
             
                    version: '1.1'
         
     | 
| 
      
 44 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 45 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 46 
     | 
    
         
            +
                    version: '3.0'
         
     | 
| 
       21 
47 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       22 
48 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       23 
49 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       24 
50 
     | 
    
         
             
                requirements:
         
     | 
| 
       25 
     | 
    
         
            -
                - -  
     | 
| 
      
 51 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       26 
52 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       27 
53 
     | 
    
         
             
                    version: '1.1'
         
     | 
| 
      
 54 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 55 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 56 
     | 
    
         
            +
                    version: '3.0'
         
     | 
| 
       28 
57 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       29 
58 
     | 
    
         
             
              name: bundler
         
     | 
| 
       30 
59 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       31 
60 
     | 
    
         
             
                requirements:
         
     | 
| 
       32 
     | 
    
         
            -
                - -  
     | 
| 
      
 61 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       33 
62 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       34 
63 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       35 
64 
     | 
    
         
             
              type: :development
         
     | 
| 
       36 
65 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       37 
66 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       38 
67 
     | 
    
         
             
                requirements:
         
     | 
| 
       39 
     | 
    
         
            -
                - -  
     | 
| 
      
 68 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       40 
69 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       41 
70 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       42 
71 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       43 
72 
     | 
    
         
             
              name: rspec
         
     | 
| 
       44 
73 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       45 
74 
     | 
    
         
             
                requirements:
         
     | 
| 
       46 
     | 
    
         
            -
                - -  
     | 
| 
      
 75 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       47 
76 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       48 
77 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       49 
78 
     | 
    
         
             
              type: :development
         
     | 
| 
       50 
79 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       51 
80 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       52 
81 
     | 
    
         
             
                requirements:
         
     | 
| 
       53 
     | 
    
         
            -
                - -  
     | 
| 
      
 82 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       54 
83 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       55 
84 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       56 
85 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       57 
86 
     | 
    
         
             
              name: guard-rspec
         
     | 
| 
       58 
87 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       59 
88 
     | 
    
         
             
                requirements:
         
     | 
| 
       60 
     | 
    
         
            -
                - -  
     | 
| 
      
 89 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       61 
90 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       62 
91 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       63 
92 
     | 
    
         
             
              type: :development
         
     | 
| 
       64 
93 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       65 
94 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       66 
95 
     | 
    
         
             
                requirements:
         
     | 
| 
       67 
     | 
    
         
            -
                - -  
     | 
| 
      
 96 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       68 
97 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       69 
98 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       70 
99 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       71 
100 
     | 
    
         
             
              name: yard
         
     | 
| 
       72 
101 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       73 
102 
     | 
    
         
             
                requirements:
         
     | 
| 
       74 
     | 
    
         
            -
                - -  
     | 
| 
      
 103 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       75 
104 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       76 
105 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       77 
106 
     | 
    
         
             
              type: :development
         
     | 
| 
       78 
107 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       79 
108 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       80 
109 
     | 
    
         
             
                requirements:
         
     | 
| 
       81 
     | 
    
         
            -
                - -  
     | 
| 
      
 110 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       82 
111 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       83 
112 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       84 
113 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       85 
114 
     | 
    
         
             
              name: redcarpet
         
     | 
| 
       86 
115 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       87 
116 
     | 
    
         
             
                requirements:
         
     | 
| 
       88 
     | 
    
         
            -
                - -  
     | 
| 
      
 117 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       89 
118 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       90 
119 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       91 
120 
     | 
    
         
             
              type: :development
         
     | 
| 
       92 
121 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       93 
122 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       94 
123 
     | 
    
         
             
                requirements:
         
     | 
| 
       95 
     | 
    
         
            -
                - -  
     | 
| 
      
 124 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       96 
125 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       97 
126 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       98 
127 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       99 
128 
     | 
    
         
             
              name: pimpmychangelog
         
     | 
| 
       100 
129 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       101 
130 
     | 
    
         
             
                requirements:
         
     | 
| 
       102 
     | 
    
         
            -
                - -  
     | 
| 
      
 131 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       103 
132 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       104 
133 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       105 
134 
     | 
    
         
             
              type: :development
         
     | 
| 
       106 
135 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       107 
136 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       108 
137 
     | 
    
         
             
                requirements:
         
     | 
| 
       109 
     | 
    
         
            -
                - -  
     | 
| 
      
 138 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       110 
139 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       111 
140 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       112 
141 
     | 
    
         
             
            description: Guard::PHPUnit automatically run your unit-tests written with the PHPUnit
         
     | 
| 
         @@ -114,10 +143,33 @@ description: Guard::PHPUnit automatically run your unit-tests written with the P 
     | 
|
| 
       114 
143 
     | 
    
         
             
            email:
         
     | 
| 
       115 
144 
     | 
    
         
             
            - maher@sallam.me
         
     | 
| 
       116 
145 
     | 
    
         
             
            - ramon@cc63.com
         
     | 
| 
      
 146 
     | 
    
         
            +
            - marekk@theodo.fr
         
     | 
| 
       117 
147 
     | 
    
         
             
            executables: []
         
     | 
| 
       118 
148 
     | 
    
         
             
            extensions: []
         
     | 
| 
       119 
149 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       120 
150 
     | 
    
         
             
            files:
         
     | 
| 
      
 151 
     | 
    
         
            +
            - CHANGELOG.md
         
     | 
| 
      
 152 
     | 
    
         
            +
            - LICENSE
         
     | 
| 
      
 153 
     | 
    
         
            +
            - README.md
         
     | 
| 
      
 154 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/PHPUnit/Extensions/Progress/ResultPrinter.php
         
     | 
| 
      
 155 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/README.markdown
         
     | 
| 
      
 156 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/_files/Number.php
         
     | 
| 
      
 157 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/_files/NumberTest.php
         
     | 
| 
      
 158 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/_files/emptyTest.php
         
     | 
| 
      
 159 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_basic.phpt
         
     | 
| 
      
 160 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_errors.phpt
         
     | 
| 
      
 161 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_errors_variation.phpt
         
     | 
| 
      
 162 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_failing.phpt
         
     | 
| 
      
 163 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_failing_variation.phpt
         
     | 
| 
      
 164 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_incomplete.phpt
         
     | 
| 
      
 165 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_incomplete_variation.phpt
         
     | 
| 
      
 166 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_passing.phpt
         
     | 
| 
      
 167 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_passing_variation.phpt
         
     | 
| 
      
 168 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_skipped.phpt
         
     | 
| 
      
 169 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/Tests/printer_skipped_variation.phpt
         
     | 
| 
      
 170 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/VERSION
         
     | 
| 
      
 171 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/phpunit.xml
         
     | 
| 
      
 172 
     | 
    
         
            +
            - lib/guard/phpunit/formatters/PHPUnit-Progress/screenshot.png
         
     | 
| 
       121 
173 
     | 
    
         
             
            - lib/guard/phpunit2.rb
         
     | 
| 
       122 
174 
     | 
    
         
             
            - lib/guard/phpunit2/formatter.rb
         
     | 
| 
       123 
175 
     | 
    
         
             
            - lib/guard/phpunit2/inspector.rb
         
     | 
| 
         @@ -125,9 +177,6 @@ files: 
     | 
|
| 
       125 
177 
     | 
    
         
             
            - lib/guard/phpunit2/runner.rb
         
     | 
| 
       126 
178 
     | 
    
         
             
            - lib/guard/phpunit2/templates/Guardfile
         
     | 
| 
       127 
179 
     | 
    
         
             
            - lib/guard/phpunit2/version.rb
         
     | 
| 
       128 
     | 
    
         
            -
            - LICENSE
         
     | 
| 
       129 
     | 
    
         
            -
            - README.md
         
     | 
| 
       130 
     | 
    
         
            -
            - CHANGELOG.md
         
     | 
| 
       131 
180 
     | 
    
         
             
            - spec/fixtures/emptyTest.php
         
     | 
| 
       132 
181 
     | 
    
         
             
            - spec/fixtures/results/errors.txt
         
     | 
| 
       133 
182 
     | 
    
         
             
            - spec/fixtures/results/failing.txt
         
     | 
| 
         @@ -142,7 +191,8 @@ files: 
     | 
|
| 
       142 
191 
     | 
    
         
             
            - spec/guard/phpunit2_spec.rb
         
     | 
| 
       143 
192 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       144 
193 
     | 
    
         
             
            homepage: ''
         
     | 
| 
       145 
     | 
    
         
            -
            licenses: 
     | 
| 
      
 194 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 195 
     | 
    
         
            +
            - MIT
         
     | 
| 
       146 
196 
     | 
    
         
             
            metadata: {}
         
     | 
| 
       147 
197 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       148 
198 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
         @@ -150,17 +200,17 @@ require_paths: 
     | 
|
| 
       150 
200 
     | 
    
         
             
            - lib
         
     | 
| 
       151 
201 
     | 
    
         
             
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
       152 
202 
     | 
    
         
             
              requirements:
         
     | 
| 
       153 
     | 
    
         
            -
              - -  
     | 
| 
      
 203 
     | 
    
         
            +
              - - ">="
         
     | 
| 
       154 
204 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       155 
205 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       156 
206 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       157 
207 
     | 
    
         
             
              requirements:
         
     | 
| 
       158 
     | 
    
         
            -
              - -  
     | 
| 
      
 208 
     | 
    
         
            +
              - - ">="
         
     | 
| 
       159 
209 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       160 
210 
     | 
    
         
             
                  version: 1.3.6
         
     | 
| 
       161 
211 
     | 
    
         
             
            requirements: []
         
     | 
| 
       162 
212 
     | 
    
         
             
            rubyforge_project: guard-phpunit2
         
     | 
| 
       163 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 213 
     | 
    
         
            +
            rubygems_version: 2.2.0
         
     | 
| 
       164 
214 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       165 
215 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       166 
216 
     | 
    
         
             
            summary: Guard gem for PHPUnit
         
     |