gapic-generator-python icon indicating copy to clipboard operation
gapic-generator-python copied to clipboard

Refactor unit test templates

Open atulep opened this issue 3 years ago • 0 comments

Currently, unit tests in templates code are all concentrated in a single file test_%service.py.j2. The file has 3K lines and should be refactored.

One idea is to refactor across two dimensions: transport and sync/async (cc @software-dov). It's a big effort, so perhaps a smaller task is to first identify the common boilerplate code in the existing test file and lift it to a separate file.

atulep avatar Feb 11 '22 19:02 atulep