| 1 |
# Cloud Bigtable Go client library test proxy |
| 2 |
|
| 3 |
The Bigtable test proxy is intended for use with the [Test Framework |
| 4 |
for Cloud Bigtable Client Libraries](https://github.com/googleapis/cloud-bigtable-clients-test). |
| 5 |
|
| 6 |
See the section on |
| 7 |
[Test Execution](https://github.com/googleapis/cloud-bigtable-clients-test#test-execution) |
| 8 |
for the Test Frameworks to see usage steps. |
| 9 |
|
| 10 |
## Running the test proxy |
| 11 |
|
| 12 |
1. Open a command terminal at the root of the Bigtable client library. |
| 13 |
|
| 14 |
1. Run the test proxy (this) |
| 15 |
|
| 16 |
|
| 17 |
go run internal/testproxy/proxy.go |
| 18 |
|
| 19 |
|
| 20 |
You can also specify a port to use for the test proxy by using the `--port` |
| 21 |
flag: |
| 22 |
|
| 23 |
``` |
| 24 |
go run internal/testproxy/proxy.go --port 5000 |
| 25 |
``` |
| 26 |
|
| 27 |
## Running the unit tests |
| 28 |
|
| 29 |
1. Run the following at the root of the test proxy folder: |
| 30 |
|
| 31 |
go test -v . |