Sha256: 35066e16947cb249cc200a7c7a732d1b338c4ac1da210d8d7cb7fb7ac0e74dd0

Contents?: true

Size: 563 Bytes

Versions: 17

Compression:

Stored size: 563 Bytes

Contents

class Juwelier
  class Generator
    module TestunitMixin

      def default_task
        'test'
      end

      def feature_support_require
        'test/unit/assertions'
      end

      def feature_support_extend
        'Test::Unit::Assertions'
      end

      def test_dir
        'test'
      end

      def test_task
        'test'
      end

      def test_pattern
        'test/**/test_*.rb'
      end

      def test_filename
        "test_#{require_name}.rb"
      end

      def test_helper_filename
        "helper.rb"
      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
juwelier-2.4.9 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.4.7 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.4.6 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.4.5 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.4.4 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.4.1 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.4.0 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.3.6 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.3.4 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.3.2 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.3.0 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.2.3 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.2.1 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.1.3 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.1.2 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.1.1 lib/juwelier/generator/testunit_mixin.rb
juwelier-2.1.0 lib/juwelier/generator/testunit_mixin.rb