Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jstestr

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstestr

A testing framework for JavaScript UIs.

  • 0.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

Jstestr is broken up into 3 independent pieces. There is testing framework which includes support for asynchronous tests using a callback or a future, test node creation, and full page testing, console logging and reporting. There is an assert module which includes asserts for equality, truthiness, object types, mock functions with argument verification, and more. Finally, there is synthetic events based GUI testing framework.

The framework makes use of AMD to load code and define dependencies. Any AMD compliant loader may be used. There are example runner HTML pages which configure RequireJS or dojo to load and execute tests. The example runners make some assumptions about the relative locations of the loader script files. If the assumptions are not correct the runner HTML page can be copied and configured correctly. For example, if a dojoConfig variable needs to be set before loading, the dojoRunner.html page can be modified to include that config script. The git submodules are not required and are only used for the framework tests and demos.

Documentation

Framework Tests

Build Status

Keywords

FAQs

Package last updated on 01 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc