mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-23 08:50:20 -05:00
bash -> shell
This commit is contained in:
@@ -130,7 +130,7 @@ While you'll find yourself working primarily in the GUI, it is helpful to be abl
|
||||
|
||||
Once you have the [Cypress CLI Tool](https://github.com/cypress-io/cypress-cli) installed, you can simply execute:
|
||||
|
||||
```bash
|
||||
```shell
|
||||
cypress run
|
||||
```
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ When running Cypress headlessly or in CI, you can specify which Mocha reporter C
|
||||
|
||||
Command line:
|
||||
|
||||
```bash
|
||||
```shell
|
||||
## also works with 'cypress ci'
|
||||
cypress run --reporter json
|
||||
```
|
||||
@@ -70,7 +70,7 @@ Specify the path to your custom reporter to use it:
|
||||
|
||||
Command line:
|
||||
|
||||
```bash
|
||||
```shell
|
||||
## also works with 'cypress ci'
|
||||
cypress run --reporter reporters/custom.js
|
||||
```
|
||||
@@ -91,7 +91,7 @@ If you have installed a custom reporter through npm, specify the package name:
|
||||
|
||||
Command line:
|
||||
|
||||
```bash
|
||||
```shell
|
||||
## also works with 'cypress ci'
|
||||
cypress run --reporter mochawesome
|
||||
```
|
||||
@@ -120,7 +120,7 @@ Some reporters accept options to customize their behavior. These can be specifie
|
||||
|
||||
Command line:
|
||||
|
||||
```bash
|
||||
```shell
|
||||
## also works with 'cypress ci'
|
||||
cypress run --reporter junit --reporter-options "mochaFile=results/my-test-output.xml,toConsole=true"
|
||||
```
|
||||
|
||||
@@ -26,7 +26,7 @@ By default Cypress expects your CI provider to have:
|
||||
|
||||
In addition, you should install the following libraries:
|
||||
|
||||
```bash
|
||||
```shell
|
||||
apt-get install libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3
|
||||
```
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ To make changes to our documentation:
|
||||
|
||||
### Working Locally
|
||||
|
||||
```bash
|
||||
```shell
|
||||
npm install
|
||||
```
|
||||
|
||||
@@ -32,12 +32,12 @@ You will need to login with your Readme.io credentials before working. You may s
|
||||
|
||||
Login with your Cypress readme.io account credentials.
|
||||
|
||||
```bash
|
||||
```shell
|
||||
export README_EMAIL=<readmeio_account_email>
|
||||
export README_PASSWORD=<readmeio_account_password>
|
||||
```
|
||||
|
||||
```bash
|
||||
```shell
|
||||
# add a new command
|
||||
npm run add-command <command-name>
|
||||
# see what add-command will do without changing files
|
||||
@@ -49,7 +49,7 @@ npm run remove-command <command-name>
|
||||
npm run remove-command <command-name> -- --dry-run
|
||||
```
|
||||
|
||||
```bash
|
||||
```shell
|
||||
# modify local files
|
||||
<hack hack hack>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user