Skip to content

Commit fb2b613

Browse files
committed
add README
1 parent 767b046 commit fb2b613

File tree

7 files changed

+1498
-23
lines changed

7 files changed

+1498
-23
lines changed

.publishrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"validations": {
3+
"vulnerableDependencies": true,
4+
"uncommittedChanges": true,
5+
"untrackedFiles": true,
6+
"sensitiveData": true,
7+
"branch": false,
8+
"gitTag": true
9+
},
10+
"confirm": true,
11+
"publishCommand": "npm publish",
12+
"publishTag": "latest",
13+
"prePublishScript": "npm make",
14+
"postPublishScript": false
15+
}

LICENSE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2020 TestingBot, released under MIT License.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,60 @@
1-
## This will soon host the Cypress CLI for running tests on TestingBot
1+
# TestingBot Cypress CLI
2+
[![npm version](https://badge.fury.io/js/testingbot-cypress-cli.svg)](https://badge.fury.io/js/testingbot-cypress-cli)
3+
4+
The `testingbot-cypress-cli` is command-line interface (CLI) which
5+
allows you to run Cypress tests on TestingBot. TestingBot provides a
6+
large grid of browsers and devices to run both manual and automated tests.
7+
8+
- [Quick Start](#quick-start)
9+
- [Documentation](#documentation)
10+
- [Getting Help](#getting-help)
11+
- [License](#license)
12+
13+
## Quick Start
14+
To get started, simply install the CLI and configure it to use your Cypress project:
15+
16+
### Install the CLI
17+
18+
You can easily install the CLI via `npm` or `yarn`:
19+
20+
```bash
21+
$ npm install -g testinbot-cypress-cli
22+
```
23+
24+
### Configure
25+
26+
Once the CLI is installed, you'll need to point it to a configuration file.
27+
The configuration file will point the CLI to the Cypress project and will supply
28+
the TestingBot credentials.
29+
30+
To set up a new configuration file (`testingbot.json`), simply run this command:
31+
32+
```bash
33+
$ testingbot-cypress init
34+
```
35+
36+
This will create a `testingbot.json` file. Please add the `key` and `secret` you obtained from the TestingBot member dashboard in this file.
37+
38+
Next, please supply `cypress_proj_dir` with is the path to the folder that contains the `cypress.json` file.
39+
As an example, you can use the [Cypress Kitchen Sink Example](https://github.com/cypress-io/cypress-example-kitchensink).
40+
41+
### Run tests
42+
43+
Now you're ready to start running your Cypress tests on TestingBot.
44+
To start the tests, please run:
45+
```bash
46+
$ testingbot-cypress run
47+
```
48+
49+
Once you've started this command, the tests will start to appear in the [TestingBot Dashboard](https://testingbot.com/members).
50+
51+
## Documentation
52+
53+
## Getting Help
54+
55+
If you need help, please reach out to us via [email protected] or our public Slack: https://testingbot.com/support
56+
57+
## License
58+
59+
This project is released under MIT License. Please see the
60+
[LICENSE.md](LICENSE.md) for more details.

0 commit comments

Comments
 (0)