Skip to content

Latest commit

 

History

History
executable file
·
20 lines (12 loc) · 867 Bytes

README.md

File metadata and controls

executable file
·
20 lines (12 loc) · 867 Bytes

Bigtable nodeJS client - test repo

This repository is used in order to test the basic functionality of the @google-cloud/bigtable npm module (github)

Run Tests

You can either run the tests against the Bigtable Emulator or against a Bigtable GCP Instance.

In each case install dependencies by running npm install

Testing against the Bigtable Emulator

  1. Start the emulator gcloud beta emulators bigtable start
  2. run the tests npm run test

Testing against a GCP Bigtable Instance

  1. Change the INSTANCE_ID and PROJECT_ID parameters in the package.json script test:gcp to your GCP Project ID & Bigtable instanceID
  2. Create a .json GCP secret and store it under /tests/bigtable-secret.json
  3. run the tests npm run test:gcp