section9-unittest 0.0.1
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/MIT-LICENSE +21 -0
 - data/README.md +166 -0
 - data/lib/section9/unittest.rb +455 -0
 - data/section9-unittest.gemspec +42 -0
 - data/setup.rb +1585 -0
 - data/test/unittest_test.rb +772 -0
 - metadata +75 -0
 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,75 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: section9-unittest
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 5 
     | 
    
         
            +
              segments: 
         
     | 
| 
      
 6 
     | 
    
         
            +
              - 0
         
     | 
| 
      
 7 
     | 
    
         
            +
              - 0
         
     | 
| 
      
 8 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 9 
     | 
    
         
            +
              version: 0.0.1
         
     | 
| 
      
 10 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 11 
     | 
    
         
            +
            authors: 
         
     | 
| 
      
 12 
     | 
    
         
            +
            - makoto kuwata
         
     | 
| 
      
 13 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 14 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 15 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            date: 2011-12-22 00:00:00 +09:00
         
     | 
| 
      
 18 
     | 
    
         
            +
            default_executable: 
         
     | 
| 
      
 19 
     | 
    
         
            +
            dependencies: []
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            description: |
         
     | 
| 
      
 22 
     | 
    
         
            +
              Section9-unittest is an extension for Test::Unit.
         
     | 
| 
      
 23 
     | 
    
         
            +
              * 'describe' and 'it' are available (but 'before' and 'after' are not)
         
     | 
| 
      
 24 
     | 
    
         
            +
              * use 'verify_(actual) == expected' instead of 'assert_equal(expected, actual)'
         
     | 
| 
      
 25 
     | 
    
         
            +
              * register block which will be called at end of each test
         
     | 
| 
      
 26 
     | 
    
         
            +
              * integrated with Section9::Tmp and Section9::Recorder classes
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
            email: kwa(at)kuwata-lab.com
         
     | 
| 
      
 29 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
            files: 
         
     | 
| 
      
 36 
     | 
    
         
            +
            - README.md
         
     | 
| 
      
 37 
     | 
    
         
            +
            - MIT-LICENSE
         
     | 
| 
      
 38 
     | 
    
         
            +
            - setup.rb
         
     | 
| 
      
 39 
     | 
    
         
            +
            - section9-unittest.gemspec
         
     | 
| 
      
 40 
     | 
    
         
            +
            - lib/section9/unittest.rb
         
     | 
| 
      
 41 
     | 
    
         
            +
            - test/unittest_test.rb
         
     | 
| 
      
 42 
     | 
    
         
            +
            has_rdoc: true
         
     | 
| 
      
 43 
     | 
    
         
            +
            homepage: https://github.com/kwatch/section9/wiki/section9-unittest.rb
         
     | 
| 
      
 44 
     | 
    
         
            +
            licenses: []
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 47 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
      
 50 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 51 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 52 
     | 
    
         
            +
              none: false
         
     | 
| 
      
 53 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 54 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 55 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 56 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 57 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 58 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 59 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 60 
     | 
    
         
            +
              none: false
         
     | 
| 
      
 61 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 62 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 63 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 64 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 65 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 66 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 67 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 68 
     | 
    
         
            +
             
     | 
| 
      
 69 
     | 
    
         
            +
            rubyforge_project: section9-unittest
         
     | 
| 
      
 70 
     | 
    
         
            +
            rubygems_version: 1.3.7
         
     | 
| 
      
 71 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 72 
     | 
    
         
            +
            specification_version: 3
         
     | 
| 
      
 73 
     | 
    
         
            +
            summary: unittest
         
     | 
| 
      
 74 
     | 
    
         
            +
            test_files: 
         
     | 
| 
      
 75 
     | 
    
         
            +
            - test/unittest_test.rb
         
     |