Skip to content

Releases: wimspaargaren/final-unit

v0.0.5-alpha

29 Nov 19:57
Compare
Choose a tag to compare
  • Bump golangci-lint
  • Fix CI
  • Bump go to v1.19

v0.0.4-alpha

02 Aug 14:57
30184dd
Compare
Choose a tag to compare
  1. Use cobra rewrite main package so that options initialization looks clearer.
  2. Remove generator mock. Now, we can test the original code by providing a specific seed before generating random data.
  3. To do things in 2, I replace github.com/Pallinder/go-randomdata with brianvoe/gofakeit because go-randomdata has init behavior when import which set seed with time.Now automatically.
  4. Move three generators(ident, var, val) from opts to testcase.New because they are not configurable now and useless in struct Generator.
  5. Upgrade gopkg.in/yaml.v2 to gopkg.in/yaml.v3
  6. Move getting testcases logic from struct Generator to struct File to avoid struct File anemic.

v0.0.3-alpha

28 Jan 22:10
Compare
Choose a tag to compare

Runtime analysis and conversion to assert statements refactor.

v0.0.2-alpha

21 Jan 06:27
Compare
Choose a tag to compare

Now generates test cases with non random variable names.

v0.0.1-alpha

18 Jan 20:55
fc63ed3
Compare
Choose a tag to compare

Supports generation for all types except channels.