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

update documentation to explain how to run tests #316

Merged
merged 1 commit into from May 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -109,6 +109,14 @@ You can build the latest Kubeapps Installer from source by following the steps b
cp kubeapps /usr/local
```

## Running tests

Run Go tests using `make test`. See [dashboard documentation](dashboard/README.md) for information on running dashboard tests.

```bash
make test
```

## Next Steps

[Use the Kubeapps Dashboard](docs/dashboard.md) to easily manage the deployments created by Helm in your cluster and to manage your Kubeless functions, or [look under the hood to see what's included in Kubeapps](docs/components.md).
Expand Down
11 changes: 11 additions & 0 deletions dashboard/README.md
Expand Up @@ -43,3 +43,14 @@ kubeapps dashboard --port=5000
#### Troubleshooting

In some cases, the react processes keep listening on the 3000 port, even when you disconnect telepresence. If you see that `localhost:3000` is still serving the dashboard, even with your telepresence down, check if there is a react process running (`ps aux | grep react`) and kill it.

### Running tests

The following command will start the test runner which will watch for changes and re-run.

**NOTE**: on macOS, you may need to install watchman (https://facebook.github.io/watchman/).

```
cd dashboard/
yarn run test
```