New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

chutney

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chutney

Run tape tests at Sauce Labs.

latest
Source
npmnpm
Version
2.0.2
Version published
Weekly downloads
7
Maintainers
0
Weekly downloads
 
Created
Source

chutney

Run TAP tests at Sauce Labs. A more opinionated smokestack. airtap is a another, well-known alternative.

npm version build status ISC-licensed support me via GitHub Sponsors chat with me on Twitter

  • Using localtunnel, exposes the test runner HTML page with your tests,
  • opens its URL in a Webdriver-controlled browser at Sauce Labs,
  • pipes their output to stdout, so that you can use it as a drop-in replacement for node test.js.

It is is heavily inspired by smokestack, but more lightweight because it will run the tests only on remote browsers. It is less battle-proven and has less niche features.

Installing

npm install chutney

Guide

chutney requires you to have TAP-generating tests, which you bundle e.g. using Browserify. You will also need a Sauce Labs account.

// test.js
const test = require('tape')
const awesomeTool = require('.')

test('awesome tool is awesome', (t) => {
	t.plan(1)
	t.equal(awesomeTool(), 'awesome')
})

Export your Sauce Labs credentials as well as the desired platform & browser.

export SAUCE_USER=derhuerst
export SAUCE_KEY=1a04c633-6a58-4aba-8287-54fdd18f9851
export PLATFORM='Windows 10'
export BROWSER=Chrome

Now run the tests. You may pretty-print the results using any reporter like tap-spec.

browserify test.js | chutney | tap-spec

Usage

Usage:
    chutney [--timeout <seconds>]

Options:
    --timeout  -t  Set the timeout in seconds. Default: 20

Examples:
    browserify test.js | chutney | tap-spec

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

Keywords

sauce

FAQs

Package last updated on 05 Aug 2025

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