Class Index | File Index

Classes


Class jasmine.Env


Defined in: Env.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Environment for Jasmine
Method Summary
Method Attributes Method Name and Description
 
addEqualityTester(equalityTester)
 
addReporter(reporter)
Register a reporter to receive status updates from Jasmine.
 
afterEach(afterEachFunction)
 
beforeEach(beforeEachFunction)
 
compareObjects_(a, b, mismatchKeys, mismatchValues)
 
contains_(haystack, needle)
 
 
describe(description, specDefinitions)
 
equals_(a, b, mismatchKeys, mismatchValues)
 
 
it(description, func)
 
 
 
 
 
xdescribe(desc, specDefinitions)
 
xit(description, func)
Class Detail
jasmine.Env()
Environment for Jasmine
Method Detail
addEqualityTester(equalityTester)
Parameters:
equalityTester

addReporter(reporter)
Register a reporter to receive status updates from Jasmine.
Parameters:
{jasmine.Reporter} reporter
An object which will receive status updates.

afterEach(afterEachFunction)
Parameters:
afterEachFunction

beforeEach(beforeEachFunction)
Parameters:
beforeEachFunction

compareObjects_(a, b, mismatchKeys, mismatchValues)
Parameters:
a
b
mismatchKeys
mismatchValues

contains_(haystack, needle)
Parameters:
haystack
needle

currentRunner()

describe(description, specDefinitions)
Parameters:
description
specDefinitions

equals_(a, b, mismatchKeys, mismatchValues)
Parameters:
a
b
mismatchKeys
mismatchValues

execute()

it(description, func)
Parameters:
description
func

nextSpecId()
Returns:
a sequential integer starting at 0

nextSuiteId()
Returns:
a sequential integer starting at 0

specFilter()

version()
Returns:
an object containing jasmine version build info, if set.

xdescribe(desc, specDefinitions)
Parameters:
desc
specDefinitions

xit(description, func)
Parameters:
description
func

Documentation generated by JsDoc Toolkit 2.1.0 on Tue Nov 24 2009 15:21:26 GMT-0800 (PST)