# qunit-phantomjs-runner **Repository Path**: mirrors_jonkemp/qunit-phantomjs-runner ## Basic Information - **Project Name**: qunit-phantomjs-runner - **Description**: A PhantomJS-powered headless test runner for QUnit - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-30 - **Last Updated**: 2025-12-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PhantomJS Runner QUnit Plugin ![Build Status](https://github.com/jonkemp/qunit-phantomjs-runner/actions/workflows/main.yml/badge.svg?branch=master) > A PhantomJS-powered headless test runner, providing basic console output for QUnit tests. The runner requires [PhantomJS](http://phantomjs.org/). If you don't want to deal with installing PhantomJS or using Grunt to run your tests, try [node-qunit-phantomjs](https://github.com/jonkemp/node-qunit-phantomjs). ## Installation ```bash $ npm install qunit-phantomjs-runner ``` ## Usage ```bash $ phantomjs path/to/runner.js [url-of-your-qunit-testsuite] ``` With options: ```bash $ phantomjs [phantom arguments] path/to/runner.js [url-of-your-qunit-testsuite] [timeout-in-seconds] [page-properties] ``` Show test cases: ```bash $ phantomjs path/to/runner-list.js [url-of-your-qunit-testsuite] ``` Example setting the viewport size: ```bash $ 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](http://phantomjs.org/) 1.6+ (1.7+ recommended). - QUnit plugins are also available for [gulp](https://github.com/jonkemp/gulp-qunit) and [Grunt](https://github.com/gruntjs/grunt-contrib-qunit). ## License The MIT License Copyright (c) 2014, Jonathan Kemp