skip to navigation
skip to content

oejskit 0.8.6

Open End JavaScript testing and utility kit

Downloads ↓

Latest Version: 0.9.0

jskit contains infrastructure and in particular a py.test plugin to enable running tests for JavaScript code inside browsers directly using py.test as the test driver. Running inside the browsers comes with some speed cost, on the other hand it means for example the code is tested against the real-word DOM implementations.

The approach also enables to write integration tests such that the JavaScript code is tested against server-side Python code mocked as necessary. Any server-side framework that can already be exposed through WSGI (or for which a subset of WSGI can be written to accommodate the jskit own needs) can play along.

jskit also contains code to help modularizing JavaScript code which can be used to describe and track dependencies dynamically during development and that can help resolving them statically when deploying/packaging.

jskit depends on simplejson. It also uses MochiKit - of which it ships a version within itself for convenience - for its own working though in does not imposes its usage on tested code.

jskit was initially developed by Open End AB and is released under the MIT license.

rest of the docs...

Europython 2009 talk with examples

The project repository lives at http://bitbucket.org/pedronis/js-infrastructure/

Discussions and feedback should go to py-dev at codespeak.net

Changelog

0.8.6

  • fixes for py.test 1.0 final compatibility
  • experimental glue to standard library unittest.py (no docs yet)
 
File Type Py Version Uploaded on Size # downloads
oejskit-0.8.6-py2.5.egg (md5) Python Egg 2.5 2009-08-04 1MB 532
oejskit-0.8.6-py2.6.egg (md5) Python Egg 2.6 2009-08-04 1MB 503