An automatic checker to verify an Open Service Broker API implementation against the specification.
This project should be considered experimental. You should validate the results against the released specification. In the case of any discrepancy, the specification should be considered correct.
- Firstly, u need to deploy your own service broker to be tested.
- Modify the
config_mock.yamlunder test/configs folder. - Just run
go test -v ./test/ -f configs/config_mock.yamlto start the test job.
This project provides a mock broker as reference implementation for enforcing conformance test, and validated results of this mock broker should be considered more reliable compared with other 3rd party brokers.
For deploying and using this mock broker, you should execute these commands below:
make
./build/bin/osbchecker.mockbrokerAll the model and mock broker framework will be generated from swagger.yaml automatically. Here are some steps for developers to generate them:
-
First developers should make sure your machine has
dockerinstalled. -
Then run one command below:
make autogenerated