Skip to content

Repository to test the @google-cloud/bigtable npm module

Notifications You must be signed in to change notification settings

fabifink/bigtable-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Repository to test the @google-cloud/bigtable npm module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published