Releases: wimspaargaren/final-unit
Releases · wimspaargaren/final-unit
v0.0.5-alpha
- Bump golangci-lint
- Fix CI
- Bump go to v1.19
v0.0.4-alpha
- Use cobra rewrite main package so that options initialization looks clearer.
- Remove generator mock. Now, we can test the original code by providing a specific seed before generating random data.
- To do things in 2, I replace
github.com/Pallinder/go-randomdata
withbrianvoe/gofakeit
because go-randomdata has init behavior when import which set seed with time.Now automatically. - Move three generators(ident, var, val) from opts to
testcase.New
because they are not configurable now and useless in structGenerator
. - Upgrade
gopkg.in/yaml.v2
togopkg.in/yaml.v3
- Move getting testcases logic from struct
Generator
to structFile
to avoid structFile
anemic.
v0.0.3-alpha
Runtime analysis and conversion to assert statements refactor.
v0.0.2-alpha
Now generates test cases with non random variable names.
v0.0.1-alpha
Supports generation for all types except channels.