You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TESTING.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,6 @@ You can test against a remote datastore emulator as well. To do this, set the `
40
40
41
41
Note that the remote datastore must be running before your tests are run.
42
42
43
-
44
43
### Testing code that uses Storage
45
44
46
45
Currently, there isn't an emulator for Google Cloud Storage, so an alternative is to create a test project. `RemoteGcsHelper` contains convenience methods to make setting up and cleaning up the test project easier. To use this class, follow the steps below:
@@ -49,15 +48,22 @@ Currently, there isn't an emulator for Google Cloud Storage, so an alternative i
49
48
50
49
2. Download a JSON service account credentials file from the Google Developer's Console. See more about this on the [Google Cloud Platform Storage Authentication page][cloud-platform-storage-authentication].
51
50
52
-
3. Create and use a `RemoteGcsHelper` object using your project ID and JSON key.
53
-
Here is an example that uses the `RemoteGcsHelper` to create a bucket and clear the bucket at the end of the test.
51
+
3. Create a `RemoteGcsHelper` object using your project ID and JSON key.
52
+
Here is an example that uses the `RemoteGcsHelper` to create a bucket.
0 commit comments