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 🙏

© 2024 – Pkg Stats / Ryan Hefner

testingbot-cypress-cli

v1.1.5

Published

Run Cypress tests on TestingBot.com's Browser Grid

Downloads

24

Readme

TestingBot Cypress CLI

npm version

The testingbot-cypress-cli is command-line interface (CLI) which allows you to run Cypress tests on TestingBot. TestingBot provides a large grid of browsers and devices to run both manual and automated tests.

Quick Start

To get started, simply install the CLI and configure it to use your Cypress project:

Install the CLI

You can easily install the CLI via npm or yarn:

$ npm install -g testingbot-cypress-cli

To use the CLI in combination with TestingBot Tunnel, you will need to have JDK8 (or higher) installed. TestingBot Tunnel is used to connect TestingBot's browser grid with your local computer or network.

Configure

Once the CLI is installed, you'll need to point it to a configuration file. The configuration file will point the CLI to the Cypress project and will supply the TestingBot credentials.

To set up a new configuration file (testingbot.json), simply run this command:

$ testingbot-cypress init

This will create a testingbot.json file. Please add the key and secret you obtained from the TestingBot member dashboard in this file.

Next, please supply cypress_proj_dir with is the path to the folder that contains the Cypress configuration file. As an example, you can use the Cypress Kitchen Sink Example.

Run tests

Now you're ready to start running your Cypress tests on TestingBot. To start the tests, please run:

$ testingbot-cypress run

Once you've started this command, the tests will start to appear in the TestingBot Dashboard.

Documentation

Please see the TestingBot Cypress Documentation for more documentation on how to use this CLI.

Environment variables

If you prefer to keep your TestingBot credentials in environment variables, you can use TESTINGBOT_KEY and TESTINGBOT_SECRET environment variables.

If you are running this CLI in a CI/CD like Jenkins or TeamCity, you can set the environment variable TESTINGBOT_CI=1. The CLI will output the TestingBotSessionID, in combination with a TestingBot CI plugin you will be able to view the test's details from inside your CI.

Getting Help

If you need help, please reach out to us via [email protected] or the public TestingBot Slack: https://testingbot.com/support

License

This project is released under MIT License. Please see the LICENSE.md for more details.