rutema 1.0.1 → 1.0.2
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.
- data/History.txt +3 -0
 - data/lib/rutema/reporters/activerecord.rb +8 -2
 - data/lib/rutema/system.rb +1 -1
 - data/test/test_reporter.rb +0 -0
 - metadata +3 -3
 
    
        data/History.txt
    CHANGED
    
    
| 
         @@ -70,8 +70,8 @@ module Rutema 
     | 
|
| 
       70 
70 
     | 
    
         
             
                      st.name=step[:name]
         
     | 
| 
       71 
71 
     | 
    
         
             
                      st.number=number
         
     | 
| 
       72 
72 
     | 
    
         
             
                      st.status=step[:status].to_s
         
     | 
| 
       73 
     | 
    
         
            -
                      st.output=step[:output]
         
     | 
| 
       74 
     | 
    
         
            -
                      st.error=step[:error]
         
     | 
| 
      
 73 
     | 
    
         
            +
                      st.output=sanitize(step[:output])
         
     | 
| 
      
 74 
     | 
    
         
            +
                      st.error=sanitize(step[:error])
         
     | 
| 
       75 
75 
     | 
    
         
             
                      st.duration=step[:duration]
         
     | 
| 
       76 
76 
     | 
    
         
             
                      sc.steps<<st
         
     | 
| 
       77 
77 
     | 
    
         
             
                    end
         
     | 
| 
         @@ -83,5 +83,11 @@ module Rutema 
     | 
|
| 
       83 
83 
     | 
    
         
             
                def to_s
         
     | 
| 
       84 
84 
     | 
    
         
             
                  "ActiveRecordReporter using '#{@dbfile}'"
         
     | 
| 
       85 
85 
     | 
    
         
             
                end
         
     | 
| 
      
 86 
     | 
    
         
            +
                
         
     | 
| 
      
 87 
     | 
    
         
            +
                private
         
     | 
| 
      
 88 
     | 
    
         
            +
                def sanitize text
         
     | 
| 
      
 89 
     | 
    
         
            +
                  return text.gsub("\000","") if text
         
     | 
| 
      
 90 
     | 
    
         
            +
                  return ""
         
     | 
| 
      
 91 
     | 
    
         
            +
                end
         
     | 
| 
       86 
92 
     | 
    
         
             
              end   
         
     | 
| 
       87 
93 
     | 
    
         
             
            end
         
     | 
    
        data/lib/rutema/system.rb
    CHANGED
    
    
    
        data/test/test_reporter.rb
    CHANGED
    
    | 
         Binary file 
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: rutema
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors: 
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Vassilis Rizopoulos
         
     | 
| 
         @@ -9,7 +9,7 @@ autorequire: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            date: 2008-10- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2008-10-23 00:00:00 +02:00
         
     | 
| 
       13 
13 
     | 
    
         
             
            default_executable: rutemax
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
         @@ -80,7 +80,7 @@ dependencies: 
     | 
|
| 
       80 
80 
     | 
    
         
             
                requirements: 
         
     | 
| 
       81 
81 
     | 
    
         
             
                - - ">="
         
     | 
| 
       82 
82 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       83 
     | 
    
         
            -
                    version: 1.8. 
     | 
| 
      
 83 
     | 
    
         
            +
                    version: 1.8.1
         
     | 
| 
       84 
84 
     | 
    
         
             
                version: 
         
     | 
| 
       85 
85 
     | 
    
         
             
            description: "== DESCRIPTION: rutema is a test execution tool with a twist. It allows you to combine test tools while it takes care of logging, reporting, archiving of results and formalizes execution of automated and manual tests. It's purpose is to make testing in heterogeneous environments easier.   For more information look at http://patir.rubyforge.org/rutema  == FEATURES/PROBLEMS: * Unified test execution environment for automated and manual tests * Extensible reports and notifications in various formats (email, rss, pdf, html etc.) * Web frontend and command line report generation tools for browsing the test results database (with rutemaweb) * Comprehensive history of test execution * A well defined way to create a project specific test specification format  == SYNOPSIS: See http://patir.rubyforge.org/rutema/distro_test.html for an introductory example.  == REQUIREMENTS: * patir (http://patir.rubyforge.org) * mailfactory (http://rubyforge.org/projects/mailfactory/) * activerecord (http://ar.rubyonrails.com/) * sqlite3 (http://rubyforge.org/projects/sqlite-ruby/) * ruport (http://rubyreports.org/) * acts_as_reportable * highline"
         
     | 
| 
       86 
86 
     | 
    
         
             
            email: riva@braveworld.net
         
     |