Files | Admin

Notes:

Release Name: 0.2.0

Notes:
= JsTestCore
The JsTestCore library is the core javascript test server library used by several JS Test server libraries.

To hook up your own JS Test framework:
  * You will need to call either JsTestCore::Resources::WebRoot.dispatch_specs or JsTestCore::Resources::WebRoot.dispatch_tests
    depending if you are serving specs or tests.
  * Set JsTestCore.core_path to the directory of the client side test framework (javascript files)
  * Override JsTestCore::Resources::Specs::SpecFile#get or JsTestCore::Resources::Specs::TestFile#get
  * Override JsTestCore::Resources::Specs::SpecDir#get or JsTestCore::Resources::Specs::TestDir#get

NOTE: The current version of JsTestCore does not yet support tests. Support will be added soon.
      I just wanted the test stuff to be in the docs to establish the current architectural direction.



Changes: - Renamed Suite to Session to follow Selenium conventions - Renamed SuiteFinish to SessionFinish to follow Selenium conventions - Added /session, which uses the session_id cookie to derive the current session. - Added /session/finished to be used to simplify client/server interactions. - Remove File caching because it doesn't cause a noticable performance benefit over a local network and because it sometimes doesn't write over stale files. - Client accepts selenium_browser_start_command parameter, which allows the user to parameterize the selenium_browser_start_command - Added support for running specs in Internet Explorer via POST /runners/iexplore - Resource file download performance improvements via caching and chunked sending - Fixed false positive bug when Client connection times out