minitest-heat 0.0.13 → 0.0.14
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
 - data/Gemfile.lock +1 -1
 - data/lib/minitest/heat/issue.rb +3 -3
 - data/lib/minitest/heat/version.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 4009f20d5e5d4d92d8e0796e853df4da059e3ec7a6b49cae98a8ce71352316fd
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: adf5692ab8af5f08ec97607f43ac8f454ad91fb62d15d9f867ee354d920a7a45
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 8e0d422fbc88d79598464f1640ffb7b6ea3e8ab7324e85f9a059a61f1d14e6c8792f277525dadf6cf81ee493168708dd0eb1a3f9b836b7efd0af3e73b959f25b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: dfa2aa6267e1c026da29b93e1e7ab73f4a1fc65d9d1132228efff315622b742ebe40074eec7a639e6246b7bad27f14a31feee647c9c1274b77d8a57b8d8ed22b
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    
    
        data/lib/minitest/heat/issue.rb
    CHANGED
    
    | 
         @@ -139,15 +139,15 @@ module Minitest 
     | 
|
| 
       139 
139 
     | 
    
         
             
                  #
         
     | 
| 
       140 
140 
     | 
    
         
             
                  # @return [Boolean] true if the test took longer to run than `slow_threshold`
         
     | 
| 
       141 
141 
     | 
    
         
             
                  def slow?
         
     | 
| 
       142 
     | 
    
         
            -
                    execution_time >= slow_threshold && execution_time <  
     | 
| 
      
 142 
     | 
    
         
            +
                    execution_time >= slow_threshold && execution_time < painfully_slow_threshold
         
     | 
| 
       143 
143 
     | 
    
         
             
                  end
         
     | 
| 
       144 
144 
     | 
    
         | 
| 
       145 
145 
     | 
    
         
             
                  # Determines if a test should be considered painfully slow by comparing it to the high end
         
     | 
| 
       146 
146 
     | 
    
         
             
                  #   definition of what is considered slow.
         
     | 
| 
       147 
147 
     | 
    
         
             
                  #
         
     | 
| 
       148 
     | 
    
         
            -
                  # @return [Boolean] true if the test took longer to run than ` 
     | 
| 
      
 148 
     | 
    
         
            +
                  # @return [Boolean] true if the test took longer to run than `painfully_slow_threshold`
         
     | 
| 
       149 
149 
     | 
    
         
             
                  def painful?
         
     | 
| 
       150 
     | 
    
         
            -
                    execution_time >=  
     | 
| 
      
 150 
     | 
    
         
            +
                    execution_time >= painfully_slow_threshold
         
     | 
| 
       151 
151 
     | 
    
         
             
                  end
         
     | 
| 
       152 
152 
     | 
    
         | 
| 
       153 
153 
     | 
    
         
             
                  # Determines if the issue is an exception that was raised from directly within a test
         
     |