README revision 52573a9e39b00926b9b978f85340102df4b4063d
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesYUI Test Framework
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesModule Name: "test"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesDocumentation: http://developer.yahoo.com/yui/3/test
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes3.1.0
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added JUnit XML test results format.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added TAP test results format.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added getResults() method on TestRunner.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added isRunning() method on TestRunner.
0662ed52e814f8f08ef0e09956413a792584eddffuankg * Added getName()/setName() method on TestRunner.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added coverage support, including getCoverage() on TestRunner and CoverageFormat.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Changed master suite default name to be "yuitests" plus a timestamp.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added test duration tracking.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Updated JUnit XML test format with time information.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Changed functionality of TestRunner when there's only one suite to run. Internally, the TestRunner uses
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes a TestSuite to manage everything added via add(). Previously, this test suite was always represented
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes in the results. Now, if you've only added one TestSuite to the TestRunner via add(), the specified
16b55a35cff91315d261d1baa776138af465c4e4fuankg TestSuite becomes the root. This may affect the reporting of test results if you're using TestReporter.
16b55a35cff91315d261d1baa776138af465c4e4fuankg To run tests in the old way, call TestRunner.run(true).
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg3.0.0
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg * Added missing space in assert failure message (trac #2528058).
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg * Fixed ArrayAssert errors (trac #2528142).
16b55a35cff91315d261d1baa776138af465c4e4fuankg * Failed tests now output "failed" into the log (trac #2527916).
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added chainability for the add() method on Y.Test.Runner and Y.Test.Suite (trac #2527899).
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes3.0.0b1
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Changed component name to "test" from "yuitest".
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Fixed bug in Y.Mock.Value() where omitting second argument caused an error.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Removed dependencies on Y.Object.owns().
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Fixed bug in Y.Mock.Value() that resulting in multiple calls to the same verification to include old information.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Fixed bug in mock objects where a mock method called asynchronously (via timeout or XHR callback) could throw an error up to the browser and cause the test to incorrectly be marked as passing.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Renamed Y.ObjectAssert.has() to Y.ObjectAssert.hasKey() to better match Y.Object.hasKey().
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Removed Y.ObjectAssert.hasAll() and replaced with Y.ObjectAssert.hasKeys() to better match Y.Object.hasKey().
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Renamed Y.ObjectAssert.owns() to Y.ObjectAssert.ownsKey() to better match Y.Object.hasKey().
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Removed Y.ObjectAssert.ownsAll() and replaced with Y.ObjectAssert.ownsKeys() to better match Y.Object.hasKey().
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added unit tests for mock and object asserts.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added Y.assert() and Y.fail().
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added Y.ObjectAssert.ownsNoKeys() (trac# 2527849).
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Added proper XML escaping to Y.Test.Format.XML.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Fixed this._form is undefined error in TestReporter (trac# 2527928).
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes3.0.0PR2
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Initial port from 2.x version
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Introduction of mock objects (Y.Mock())
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes * Event simulation moved to Y.Event.simulate() (no longer part of Test component)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes