Releases: kindrid/gotest
Releases · kindrid/gotest
1.2.0 Full Schema support from Swagger
1.1.0 - Swagger Testing
Added
- RESTHarness for testing RESTful specs
- Swagger support for RESTHarness
1.0.0 - stable assertions
Added
- Verbosity control:
--gotest-verbosity - Stack trace control:
--gotest-stack - Added JSON assertions:
should.BeSortedByFieldshould.CountAtLease
- Added JSON:API assertion:
BeJsonapiError
Changed
- Bumping to version 1.x per semver.org's advice.
should.MatchHTTPStatusCodeis 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
[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
[0.9.3] 2017-02-16
Added
- Interface
should.StructureExplorer, a minimal JSON destructuring interface to decouple libraries usinggotestfromgithub.com/Jeffail/gabs. - Method
should.ParseJSON()that returns ashould.StructureExplorerso 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
[0.9.1] 2017-02-09
Changed
- Updated dependencies with
glide - Added
HaveOnlyCamelcaseKeysto 'BeJSONAPIRecord' (Limitation: BeJSONAPIRecord doesn't have theignoreoption yet to explicitly allow some snake_case fields)
Release 0.9.1 camelCase checking.
Merge pull request #5 from kindrid/test-camelcase-responses Added assertion to test camel casing.
Version 0.9.0
- JSON:API tests