> For the complete documentation index, see [llms.txt](https://fredericheem.gitbook.io/starhackit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fredericheem.gitbook.io/starhackit/backend/testing.md).

# Testing

Here is the command to run the mocha test suite:

```
$ npm run mocha
```

When working on the source code, it is best to run mocha with the *--watch* options, when a file is saved, the tests are executed again.

```
$ npm run mocha:watch
```

> To execute only one test, add *.only* to *it* or *describe*
