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

qunit-phantomjs-runner

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qunit-phantomjs-runner

A PhantomJS-powered headless test runner for QUnit

  • 2.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13K
increased by4.85%
Maintainers
1
Weekly downloads
 
Created
Source

PhantomJS Runner QUnit Plugin Build Status

A PhantomJS-powered headless test runner, providing basic console output for QUnit tests.

The runner requires PhantomJS. If you don't want to deal with installing PhantomJS or using Grunt to run your tests, try node-qunit-phantomjs.

Installation

$ npm install qunit-phantomjs-runner

Usage

$ phantomjs path/to/runner.js [url-of-your-qunit-testsuite]

With options:

$ phantomjs [phantom arguments] path/to/runner.js [url-of-your-qunit-testsuite] [timeout-in-seconds] [page-properties]

Show test cases:

$ phantomjs path/to/runner-list.js [url-of-your-qunit-testsuite]

Example setting the viewport size:

$ phantomjs path/to/runner-list.js [url-of-your-qunit-testsuite] 5 '{"viewportSize":{"width":1000,"height":1000}}'

Timeout

In v2.0, a default timeout of 5 seconds was added. The timeout was optional before. This could cause tests to break, which is the reason for the major version bump.

Notes

  • Requires PhantomJS 1.6+ (1.7+ recommended).
  • QUnit plugins are also available for gulp and Grunt.

License

The MIT License

Copyright (c) 2014, Jonathan Kemp

Keywords

FAQs

Package last updated on 09 Oct 2020

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