Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!

All Annotations of JsUnit[Preview]

saved by18 people, first bySimon on 2006-07-26, last byEthan Jewett on 2008-08-12

  • setUpPage()
    is called once on each Test Page before any Test Functions are called.
  • (setUp() is called before every Test Function)
  • setUpPage() is especially useful
    for the asynchronous loading of data documents.
  • If you implement setUpPage in your Test Page, you need to set the value of a variable
    called "setUpPageStatus" to "complete" when your function is finished. JsUnit then
    knows your function is done, and proceeds to execute the page.