UNPKG

@testim/testim-cli

Version:

Command line interface for running Testing on you CI

89 lines (80 loc) 1.86 kB
# TESTIM.IO ## Web test automation solution, built for agile teams. Testim is a cloud service that instantly enables Test Automation to make you Continuous Delivery ready. ### Build Status [![Circle CI](https://circleci.com/gh/testimio/clickim.svg?style=svg&circle-token=a2f6694f2a52b645e965cff53d56093133ac93a4)](https://circleci.com/gh/testimio/clickim) ### Installation Install the testim CLI globally: ```sh $ npm i -g @testim/testim-cli ``` ### CLI Options Token: ```sh --token ``` Use the token you got from testim.io (if you don't have one email [info@testim.io](mailto:info@testim.io)) ```sh testim --token my.token ``` Project: ```sh --project ``` Select which project to run tests from ```sh testim -project "My Project" ``` Label: ```sh --label or -l ``` Run all tests comprising one of the mentioned labels ```sh testim -l my-label1 -l my-label2 ``` Grid host url ```sh --host ``` Grid host port ```sh --port or -p ``` Run on a specific Selenium Grid ```sh testim -host 127.0.0.1 -p 4444 ``` Report File ```sh --report-file or -r ``` Specify where to print the report (defaults to output stream). The file is in the format of JUnitXMLReportner This is used to integrate the Testim results with the CI display, usually you'll need to set the build config in the CI to look for that file so make sure the CLI param value and the build config are set to the same location. ```sh testim -r ~/report.xml ``` Base URL ```sh --base-url ``` Starting URL after browser opens ```sh testim --base-url www.testim.io ``` Applitools Key ```sh --applitools-key testim --applitools-key sadfsdflkjdsf-sdf-fds ``` Sauce Labs Key ```sh --sauce-key testim --sauce-key sadfsdflkjdsf-sdf-fds ``` Sauce Labs User ```sh --sauce-user testim --sauce-user sadfsdflkjdsf-sdf-fds ``` License ---- All rights reserves to Testim Computerized Verifications Inc. 2015