# Testing The tests in this repository are system tests and run against live services, therefore, it takes a bit of configuration to run all of the tests locally. Before you can run tests locally you must have: * The latest [nox](https://nox.readthedocs.org/en/latest/), [pip](https://pypi.python.org/pypi/pip), and [gcp-python-repo-tools](https://pypi.python.org/pypi/gcp-python-repo-tools) installed. $ sudo pip install --upgrade nox-automation * The [Google Cloud SDK](https://cloud.google.com/sdk/) installed. You can do so with the following command: $ curl https://sdk.cloud.google.com | bash ## System Dependencies Running the complete suite may require system dependencies. Most of these should be installable via typical package managers like `apt-get` and [brew](http://brew.sh/). For example, to install portaudio: brew install portaudio If you have trouble installing a necessary system library, try filing an issue. ### Troubleshooting #### PortAudio on OS X See [speech/api/README.md](speech/api/README.md). ## Preparing a project for testing Most tests require you to have an active, billing-enabled project on the [Google Cloud Console](https://console.cloud.google.com). ### Creating resources Some resources need to be created in a project ahead of time before testing. We have a script that can create everything needed: gcloud config set project scripts/prepare-testing-project.sh The script will also instruct you to follow a URL to enable APIs. You will nee