File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
website/www/site/content/en/documentation/sdks Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pipeline can be expected to be well tested, it can be important to have tests
2929that ensure the pipeline as a whole behaves as expected. This is particularly
3030true for transforms that contain non-trivial UDF logic.
3131
32- # Whole pipeline tests
32+ ## Whole pipeline tests
3333
3434For example, consider the example word count pipeline.
3535
@@ -126,18 +126,16 @@ python -m apache_beam.yaml.main \
126126 --test_suite=test_file.yaml
127127```
128128
129- Neither the actual Read transform nor Write transform from the original
130- pipelines are executed when running the test, but all intermediate transforms
131- are. For hermeticity, we require that all inputs (with the exception of
132- ` Create ` that are needed to compute the expected outputs are explicitly mocked;
129+ For hermeticity, we require that all inputs (with the exception of
130+ ` Create ` ) that are needed to compute the expected outputs are explicitly mocked;
133131to explicitly allow a sources to be executed as part of a test their names or
134132types can be enumerated in an ` allowed_sources ` attribute of the test
135133specification.
136134
137135
138136## Pipeline fragment tests
139137
140- One can also tests a portion of a pipeline using the ` mock_inputs ` and
138+ One can also test a portion of a pipeline using the ` mock_inputs ` and
141139` expected_outputs ` section of a test, for example
142140
143141```
You can’t perform that action at this time.
0 commit comments