Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor commands in README. #4076

Merged
merged 3 commits into from
Mar 4, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,28 @@ The tests for Nightwatch are written using Mocha.
1. **Clone the project**

```bash
$ git clone https://github.com/nightwatchjs/nightwatch.git
$ cd nightwatch
$ npm install
# clone the project
garg3133 marked this conversation as resolved.
Show resolved Hide resolved
git clone https://github.com/nightwatchjs/nightwatch.git

# change directory
cd nightwatch

# install the dependencies
npm install
```

2. **Run tests**

To run the complete test suite:

```bash
$ npm test
npm test
```

To check test coverage, run the command:

```bash
$ npm run mocha-coverage
npm run mocha-coverage
```

and then open the generated coverage/index.html file in your browser.
Expand Down
Loading