You'll need to set the BIGQUERY_TEST_PROJECT
(name of a project) and
BIGQUERY_TEST_BUCKET
(name of bucket) env vars in order to run bigrquery
tests locally. I recommend creating a new project because the tests involve
both reading and writing in BigQuery and Cloud Storage.
The BIGQUERY_TEST_PROJECT
must have billing enabled for the project. While
logged in, via bq_auth()
, as a user with permission to work in
BIGQUERY_TEST_PROJECT
, run bq_test_init()
once to perform some setup.