Module: Hoe::Test

Module | Hoe::Test
In: | lib/hoe/test.rb

Test plugin for hoe.

### Tasks Provided:

audit: | Run ZenTest against the package.
default: | Run the default task(s).
multi: | Run the test suite using multiruby.
test: | Run the test suite.
test_deps: | Show which test files fail when run alone.

### Methods

define_test_tasks initialize_test

### Constants

SUPPORTED_TEST_FRAMEWORKS | = | { :testunit => "test/unit", :minitest => "minitest/autorun", } |  | Configuration for the supported test frameworks for test task.
FILTER | = | ENV['FILTER'] || ENV['TESTOPTS'] |  | Used to add flags to test_unit (e.g., -n test_borked). eg FILTER="-n test_blah"

### Attributes

multiruby_skip | [RW] | Optional: Array of incompatible versions for multiruby filtering. Used as a regex.
rspec_dirs | [RW] | Optional: RSpec dirs. [default: %w(spec lib)]
rspec_options | [RW] | Optional: RSpec options. [default: []]
testlib | [RW] | Optional: What test library to require [default: :testunit]

### Public Instance methods

define_test_tasks()

Define tasks for plugin.

initialize_test()

Initialize variables for plugin.

[Validate]