https://github.com/sirkon/ttgenlib
Table tests generator for methods and functions.
https://github.com/sirkon/ttgenlib
Last synced: 3 months ago
JSON representation
Table tests generator for methods and functions.
- Host: GitHub
- URL: https://github.com/sirkon/ttgenlib
- Owner: sirkon
- License: mit
- Created: 2022-12-05T10:03:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-19T08:42:43.000Z (over 2 years ago)
- Last Synced: 2024-06-21T08:10:50.403Z (12 months ago)
- Language: Go
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ttgenlib
A framework to simplify building table test generators for functions and methods, with:
* Customizable `context.Context` treatment.
* Fields and function/method parameters are getting nice helpers to use mock objects for them.You only need to define your messages renderer (result err processing) and provide mock lookup.
The standard lookup function will probably be sufficient for your needs at that.See [example](internal/cmd/example/example.go) for implementation details.