Testing generated protobuf clients¶
To simplify testing code that interacts with generated protobuf clients,
we provide the ucam-protobuf-testing
library. This projects contains a support library to enable projects using python code
autogenerated from protobuf files to be more easily tested. Currently it contains an auto-factory
function supporting creating factory-boy
factories from betterproto
generated python code.
Usage¶
Install the library via pip:
pip install ucam-protobuf-testing
For example usages, please refer to the ucam-protobuf-testing repository.