Module | Hoe::Test |
In: |
lib/hoe/test.rb
|
Test plugin for hoe.
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. |
SUPPORTED_TEST_FRAMEWORKS | = | { :testunit => "test/unit", :minitest => "minitest/autorun", :none => nil, } | Configuration for the supported test frameworks for test task. | |
FILTER | = | (ENV["FILTER"] || ENV["TESTOPTS"] || "").dup |
Used to add flags to test_unit (e.g., -n test_borked).
eg FILTER="-n test_blah" |
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: []] |
test_prelude | [RW] | Optional: Additional ruby to run before the test framework is loaded. |
testlib | [RW] | Optional: What test library to require [default: :minitest] |