Skip to main content

Open End JavaScript testing and utility kit

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

oejskit-0.8.6-py2.6.egg (1.9 MB view details)

Uploaded Source

oejskit-0.8.6-py2.5.egg (1.9 MB view details)

Uploaded Source

File details

Details for the file oejskit-0.8.6-py2.6.egg.

File metadata

  • Download URL: oejskit-0.8.6-py2.6.egg
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oejskit-0.8.6-py2.6.egg
Algorithm Hash digest
SHA256 ea12794b88141ccf6c9f20af1407829a531b231d9541c54cee0696a755117686
MD5 3e874fc515d01a1adb0b1c5471434fd1
BLAKE2b-256 462beaaafc97e5b022a68da4080d42030848ac3a792cb2ac4460fb0ebf8568c9

See more details on using hashes here.

File details

Details for the file oejskit-0.8.6-py2.5.egg.

File metadata

  • Download URL: oejskit-0.8.6-py2.5.egg
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oejskit-0.8.6-py2.5.egg
Algorithm Hash digest
SHA256 e6f9799d5014381fb2978919afc3418e513ee7eda07e15ad44c2e72ec76fdd24
MD5 33a4bb1ad6cd0665f8e8b4ee598c61ca
BLAKE2b-256 63b5578c29d1a53204f9ce8b6ded239b7260882b6eb265cd074cf7e17c98c480

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page