Skip to content

Releases: kindrid/gotest

1.2.0 Full Schema support from Swagger

18 Aug 02:17

Choose a tag to compare

[1.2.0] 2017-08-17

Added

  • Forming example requests and responses.
  • Harness is ready to test for CI usage

Changed

  • Describer interface return values changed slightly

1.1.0 - Swagger Testing

15 Aug 23:28

Choose a tag to compare

Added

  • RESTHarness for testing RESTful specs
  • Swagger support for RESTHarness

1.0.0 - stable assertions

11 Apr 21:03

Choose a tag to compare

Added

  • Verbosity control: --gotest-verbosity
  • Stack trace control: --gotest-stack
  • Added JSON assertions:
    • should.BeSortedByField
    • should.CountAtLease
  • Added JSON:API assertion: BeJsonapiError

Changed

  • Bumping to version 1.x per semver.org's advice.
  • should.MatchHTTPStatusCode is less verbose
  • Dependency updates
  • Removed vendor/
  • Removed all traces of goconvey
  • Documentation improvements
  • Verbosity of Debug (4) or Insane (5) shows information even for successes.

0.9.4

21 Feb 22:29

Choose a tag to compare

[0.9.4] 2017-02-21

Added

  • StructureExplorer.GetPathCheck() is like GetPath() but returns a second value, ok bool, to verify whether the value was found.
  • StructureExplorer.PathExists() returns true if a path points to a structure element with a non-nil value
  • GetVersion() and GetCommit() give info about the code version.

    Changed

  • Migrating some json checks to use the StructureExplorer interface instead of *gabs.Container. (Should probably make StructureExplorer its own subpackage.)
  • Basic relase target make release

0.9.3 With resource schema checking

16 Feb 17:03

Choose a tag to compare

[0.9.3] 2017-02-16

Added

  • Interface should.StructureExplorer, a minimal JSON destructuring interface to decouple libraries using gotest from github.com/Jeffail/gabs.
  • Method should.ParseJSON() that returns a should.StructureExplorer so outside libraries can write their own JSON assertions.
  • method gotest.Later() to sketch out unimplemented tests

0.9.2 Checking camel-case on JSON records

09 Feb 18:44

Choose a tag to compare

[0.9.1] 2017-02-09

Changed

  • Updated dependencies with glide
  • Added HaveOnlyCamelcaseKeys to 'BeJSONAPIRecord' (Limitation: BeJSONAPIRecord doesn't have the ignore option yet to explicitly allow some snake_case fields)

Release 0.9.1 camelCase checking.

08 Feb 19:25

Choose a tag to compare

Merge pull request #5 from kindrid/test-camelcase-responses Added assertion to test camel casing.

Version 0.9.0

07 Feb 19:56

Choose a tag to compare

  • JSON:API tests