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

@testim/testim-cli

v4.94.0

Published

Command line interface for running Testing on your CI

Downloads

74,610

Readme

TESTIM.IO

Web & Mobile Test Automation Solution. Built for agile teams. Testim is a cloud service that instantly enables Test Automation to make your Continuous Delivery ready.

For more information please check out https://testim.io and https://help.testim.io/docs

For any questions please talk to our support from the chat window at https://app.testim.io

For the live and up to date documentation of this tool please check out this guide on integrating Testim into your CI/CD.

Installation

Install the testim CLI globally:

$ npm i -g @testim/testim-cli

CLI Options

Token:

 --token

Use the token you got from testim.io (if you don't have one email [email protected])

testim --token my.token

Project:

 --project

Select which project to run tests from

testim -project "My Project"

Label:

 --label or -l

Run all tests comprising one of the mentioned labels

testim -l my-label1 -l my-label2

Run by test name:

testim -n test-name1 -n test-name2

Grid host url

 --host

Grid host port

 --port or -p

Run on a specific Selenium Grid

testim -host 127.0.0.1 -p 4444

Console Reporter

testim --reporters console

JUnit Reporter

testim --reporters junit --report-file ~/report.xml

TeamCity Reporter

testim --reporters teamcity

Base URL

--base-url

Starting URL after browser opens

testim --base-url www.testim.io

Applitools Key

--applitools-key
testim --applitools-key sadfsdflkjdsf-sdf-fds

Sauce Labs Key

--sauce-key
testim --sauce-key sadfsdflkjdsf-sdf-fds

Sauce Labs User

--sauce-user
testim --sauce-user sadfsdflkjdsf-sdf-fds

BrowserStack Key

--browserstack-key
testim --browserstack-key sadfsdflkjdsf-sdf-fds

BrowserStack User

--browserstack-user
testim --browserstack-user sadfsdflkjdsf-sdf-fds

BrowserStack Options

--browserstack-options
testim --browserstack-options browser-stack.json

BrowserStack Options Config File Example

{
   "browserName" : "chrome",
   "browser_version" : "53.0",
   "os" : "Windows",
   "os_version" : "7"
}

Tunnel

Open a tunnel between your local server and the selenium server. Test base url will be replaced by the tunnel url.

--tunnel
--tunnel-port <SERVER_PORT> - optional

testim --tunnel --tunnel-port 8080

Version Control (Branches)

To run on a specific branch, use this parameter in your CLI

--branch <branch-name>

If you are using one of the following: Jenkins, CircleCI or TravisCI, The Testim CLI will automatically run tests for the same branch if the following parameter is used.

--branch auto-detect

Environment Variables

The following are Environment Variables that the runner listens to:

  • "SERVICES_HOST": "http://localhost:8080"
  • "DEBUG_MODE": "1"
  • "LOGGER_DEBUG": "1"
  • "LOGGER_CONSOLE": "1"
  • "DEFAULT_REQUEST_TIMEOUT": "3000000"
  • "OVERRIDE_TIMEOUTS": "1000000"
  • "WEBDRIVER_DEBUG": "1"
  • "OVERRIDE_SCHEDULER": "true

License

© 2014-2019 Testim. All Rights Reserved.