Table of Contents - test-spec-0.10.0 Documentation
Pages
-
README
- test/spec, a BDD interface for Test::Unit
- What is test/spec?
- Mixing test/spec and test/unit
- Wrapped assertions
- Additional assertions
- Messaging/Blaming
- Custom shoulds (“Matchers”)
- SpecDox and RDox
- Disabled specifications
- Setup/Teardown
- Shared contexts
- specrb
- test/spec on Rails
- Installing with RubyGems
- History
- Contact
- Thanks to
- Copying
- Links
- ROADMAP
-
SPECS
- TestUnit
- CustomTestUnitSubclass
- test/spec
- more disabled
- even more disabled
- setup/teardown
- before all
- nested teardown
- nested
- before all
- nested
- after all
- after nested
- contexts
- contexts with subclasses
- xcontexts with subclasses
- Shared contexts
- SpecDox
- flexmock
- mocha
- Outer context
- Inner context
- Second Inner context
- Inmost context
- A new-style description
- when nested
- An disabled description
- should.output
- Context First
- Context Second
- Context Last
Classes and Modules
- Object
- Test
- Test::Spec
- Test::Spec::CustomShould
- Test::Spec::DefinitionError
- Test::Spec::Should
- Test::Spec::ShouldNot
- Test::Spec::TestCase
- Test::Spec::TestCase::ClassMethods
- Test::Spec::TestCase::InstanceMethods
- Test::Unit::AutoRunner
- Test::Unit::UI::RDox::TestRunner
- Test::Unit::UI::SpecDox::TestRunner
Methods
- ::new — Test::Spec::Should
- ::new — Test::Spec::ShouldNot
- ::new — Test::Spec::CustomShould
- ::new — Test::Spec::TestCase
- ::new — Object
- ::new — Test::Spec::TestCase::InstanceMethods
- #< — Test::Spec::Should
- #<= — Test::Spec::Should
- #== — Test::Spec::Should
- #== — Test::Spec::ShouldNot
- #=== — Test::Spec::Should
- #=~ — Test::Spec::Should
- #=~ — Test::Spec::ShouldNot
- #> — Test::Spec::Should
- #>= — Test::Spec::Should
- #_raise — Test::Spec::Should
- #_raise — Test::Spec::ShouldNot
- #a — Test::Spec::Should
- #add — Test::Spec::TestCase
- #add_assertion — Test::Spec::Should
- #add_assertion — Test::Spec::ShouldNot
- #add_fault — Test::Unit::UI::SpecDox::TestRunner
- #after — Test::Spec::TestCase::ClassMethods
- #after_all — Test::Spec::TestCase::InstanceMethods
- #an — Test::Spec::Should
- #assumptions — Test::Spec::CustomShould
- #be — Test::Spec::Should
- #be — Test::Spec::ShouldNot
- #be_nil — Test::Spec::ShouldNot
- #before — Test::Spec::TestCase::ClassMethods
- #before_all — Test::Spec::TestCase::InstanceMethods
- #behaves_like — Test::Spec::TestCase::ClassMethods
- #blaming — Test::Spec::Should
- #call_methods_including_parents — Test::Spec::TestCase::InstanceMethods
- #close — Test::Spec::Should
- #context — Test::Spec::TestCase::InstanceMethods
- #context — Test::Spec::TestCase::ClassMethods
- #describe — Test::Spec::TestCase::InstanceMethods
- #describe — Test::Spec::TestCase::ClassMethods
- #describe_shared — Test::Spec::TestCase::ClassMethods
- #equal — Test::Spec::Should
- #equal — Test::Spec::ShouldNot
- #failure_message — Test::Spec::CustomShould
- #finished — Test::Unit::UI::SpecDox::TestRunner
- #finished — Test::Unit::UI::RDox::TestRunner
- #include — Test::Spec::Should
- #indent — Test::Unit::UI::SpecDox::TestRunner
- #indent — Test::Unit::UI::RDox::TestRunner
- #init — Test::Spec::TestCase::ClassMethods
- #instance_of — Test::Spec::Should
- #it — Test::Spec::TestCase::ClassMethods
- #it_should_behave_like — Test::Spec::TestCase::ClassMethods
- #kind_of — Test::Spec::Should
- #match — Test::Spec::Should
- #match — Test::Spec::ShouldNot
- #matches? — Test::Spec::CustomShould
- #messaging — Test::Spec::Should
- #method_missing — Test::Spec::Should
- #method_missing — Test::Spec::ShouldNot
- #nil — Test::Spec::Should
- #nil — Test::Spec::ShouldNot
- #not — Test::Spec::Should
- #not — Test::Spec::ShouldNot
- #output — Test::Spec::Should
- #output_heading — Test::Unit::UI::SpecDox::TestRunner
- #output_heading — Test::Unit::UI::RDox::TestRunner
- #output_item — Test::Unit::UI::SpecDox::TestRunner
- #output_item — Test::Unit::UI::RDox::TestRunner
- #output_no_nl — Test::Unit::UI::SpecDox::TestRunner
- #output_result — Test::Unit::UI::SpecDox::TestRunner
- #pass — Test::Spec::Should
- #pass — Test::Spec::ShouldNot
- #position — Test::Spec::TestCase::InstanceMethods
- #respond_to — Test::Spec::Should
- #satisfy — Test::Spec::Should
- #satisfy — Test::Spec::ShouldNot
- #setup — Test::Spec::TestCase::ClassMethods
- #setup_mediator — Test::Unit::UI::SpecDox::TestRunner
- #shared_context — Test::Spec::TestCase::ClassMethods
- #special_test? — Test::Unit::UI::SpecDox::TestRunner
- #specify — Object
- #specify — Test::Spec::TestCase::ClassMethods
- #started — Test::Unit::UI::SpecDox::TestRunner
- #teardown — Test::Spec::TestCase::ClassMethods
- #test_finished — Test::Unit::UI::SpecDox::TestRunner
- #test_started — Test::Unit::UI::SpecDox::TestRunner
- #throw — Test::Spec::Should
- #throw — Test::Spec::ShouldNot
- #unmangle — Test::Unit::UI::SpecDox::TestRunner
- #xcontext — Test::Spec::TestCase::ClassMethods
- #xit — Test::Spec::TestCase::ClassMethods
- #xspecify — Test::Spec::TestCase::ClassMethods