This directory contains a Firestore-based implementation of the cloud provider interface.
The tests are packaged with Ledger tests.
In order to run the unit tests:
fx run-test -t cloud_provider_firestore_unittests ledger_tests
In order to run the validation tests, follow the cloud sync set-up instructions to set up a Firestore instance, configure the build environment and obtain the sync parameters.
Then, run the validation tests as follows:
fx run-test -t validation_firestore ledger_tests
Note that validation_firestore
is only a launcher for the actual tests, cloud_provider_validation_tests
. As a result, you will need to look at fx log
output to see if the tests passed.