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: google-cloud-storage/conformance/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,4 +14,9 @@ The output directory is the same is the input directory, so after successful com
14
14
15
15
## Running the tests
16
16
17
-
The conformance tests are included in the ordinary unit test suite. In the `google-cloud-storage` directory, run `rake test`.
17
+
The conformance tests are included in a separate unit test suite. In the `google-cloud-storage` directory, run `rake conformance`.
18
+
19
+
Because the conformance tests are dynamically generated at run time, working with them is more difficult than working with hand-written tests. If you need to execute one or more of these tests in isolation, you can do so by placing the `focus` keyword just above one of the calls to `define_method`. This will isolate a subset of the conformance tests.
20
+
21
+
Note: Retry conformance tests run against [storage-testbench](https://github.com/googleapis/storage-testbench) emulator instead of the production endpoint. You need to run the emulator first before running the tests. To start the emulator in your local, spin up a docker container with testbench [docker image](gcr.io/cloud-devrel-public-resources/storage-testbench:latest) and with port `9000`.
0 commit comments