Mention the new ksql.Mock examples on the README

pull/20/head
Vinícius Garcia 2022-04-06 18:32:37 -03:00
parent 2bf3a1a124
commit 1224a1b297
1 changed files with 5 additions and 1 deletions

View File

@ -650,7 +650,11 @@ we also have this test helper:
- `ksqltest.CallFunctionWithRows(fn interface{}, rows []map[string]interface{}) (map[string]interface{}, error)` - `ksqltest.CallFunctionWithRows(fn interface{}, rows []map[string]interface{}) (map[string]interface{}, error)`
If you want to see examples (we have examples for all the public functions) just If you want to see examples (we have examples for all the public functions) just
read the example tests available on our [example service](./examples/example_service) read the example tests available on our [example service](./examples/example_service/).
Please note that that in the example service above we have two sets
of tests in two different files, exemplifying how to use `gomock` and
then how to use `ksql.Mock{}`.
## Benchmark Comparison ## Benchmark Comparison