npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

testbox-runner

v0.5.0

Published

Runs Testbox tests via the command line

Downloads

19

Readme

Testbox Runner

Runs Testbox tests via the command line.

screenshot

Installation

Use npm

npm install -g testbox-runner

Configuration

Config File

You have several options for passing configuration values. This utility uses rc to parse a configuration file. It also accepts command line arguments and environment variables.

Create a .testbox-runnerrc file in the root of your project (where you will run textbox-runner). This file can be either in ini or JSON format and should contain the following options:

  • runner (required) - This is the URL to your test runner. This should point to the HTMLRunner.cfm file that ships with testbox (/testbox/system/runners/HTMLRunner.cfm). It can be your own custom runner as long as it accepts the same URL parameters as HTMLRunner.cfm.
  • directory (required if bundles is not provided) - The directory of your tests.
  • recurse (optional, default is false) - Indicates if you want to recurse the directory provided in the directory option. Must be a boolean.
  • bundles (required if directory is not provided)
  • labels - The string or list of labels the runner will use to execute suites and specs with.
  • errorsOnly - If true, only display failures and errors. The summary will still show all passing suites and tests.

Example

JSON
{
	"runner": "http://localhost/testbox/system/runners/HTMLRunner.cfm",
	"directory": "/tests",
	"recurse": true
}
ini
runner = http://localhost/testbox/system/runners/HTMLRunner.cfm
directory = /tests
recurse = true

The utility will look in several places for the .testbox-runnerrc file. See the rc documentation for more information on locations searched.

testbox-runner

You can also specify a specific configuration file:

testbox-runner --config /path/to/config/file.json

Command Line Arguments

Simply run the utility and pass the above configuration options prefixed with --.

Example

testbox-runner --runner http://localhost/testbox/system/runners/HTMLRunner.cfm --directory /tests --recurse true

Grunt/Gulp Notes

This utility can be used with grunt-shell to run it via Grunt, however, you will lose the color output. There is another option you can specify --colors which will force the colors.

You can see an example Grunt setup here and an example Gulp setup here (assumes you're using a .testbox-runnerrc file)