Skip to content

Releases: nochso/golden

0.2.1 - 2016-12-12

12 Dec 20:59
Compare
Choose a tag to compare

Added

  • func (f File) Split(sep string) []string
    • Split the file into a string slice using separator sep.

0.2.0 - 2016-11-07

07 Nov 19:00
Compare
Choose a tag to compare

Added

  • Test status and coverage thanks to travis-ci.org
    and coveralls.io.
  • Case.Diff(string) to compare with Case.Out.String() and print diff on failure.
  • TestDir() to run named sub tests for each golden in a directory.
  • Colourful diff output.

Changed

  • In absence of testing.T an error will cause log.Println to be called instead of a panic.
  • Errors now cause t.Error instead of t.Fatal.

0.1.0 - 2016-10-29

29 Oct 20:37
Compare
Choose a tag to compare

Added

  • Initial public release under the MIT license.