Class Spork::TestFramework
In: lib/spork/test_framework.rb
Parent: Object

Methods

Classes and Modules

Class Spork::TestFramework::FactoryException
Class Spork::TestFramework::FrameworkNotAvailable
Class Spork::TestFramework::NoFrameworkMatched
Class Spork::TestFramework::NoFrameworksAvailable

Constants

LOAD_PREFERENCE = ['RSpec', 'Cucumber']
BOOTSTRAP_FILE = File.dirname(__FILE__) + "/../../assets/bootstrap.rb"

Attributes

stderr  [R] 
stdout  [R] 

Public Class methods

Returns true if the testing frameworks helper file exists. Override if this is not sufficient to detect your testing framework.

Returns a list of all testing servers that have detected their testing framework being used in the project.

Returns a list of all servers that have been implemented (it keeps track of them automatically via Class.inherited)

Protected Class methods

Public Instance methods

Bootstraps the current test helper file by prepending a Spork.prefork and Spork.each_run block at the beginning.

Detects if the test helper has been bootstrapped.

Protected Instance methods

[Validate]