v1.2.0
版本发布时间: 2017-12-31 02:59:06
stretchr/testify最新发布版本:v1.9.0(2024-03-01 19:47:45)
- b91bfb9 - Move from Godep to dep for dependency management
- 9ede17e - Drop old Go versions from tests
- 8de2544 - Fix HTTP assertions to be consistent with the rest
- b57b6d1 - Add FileExists and DirExists assertions
- b3596e9 - Fxinng After(time.Duration) to wait properly
- cbf22d8 - Support nil arguments to Argument Matchers
- 42baa3e - Nil check in Implements assertion
- b3dfaa9 - fail: add test name for logged output
- 6e494f9 - put closestCall.Arguments to the expected side of the diff
- 51464da - Consider empty/nil arrays as matching elements
- 6f306a6 - Reuse aLen and bLen variables
- 76de30e - Actually fail tests
- ae87ba6 - Ran go generate
- 8bd27dd - Compress some newlines
- bf57a5d - ElementsMatch array/slice assertion ignoring order
- 0c49dd9 - Replace is with in
- 9fb9de1 - Make NotSubset actually fail the test on nil subset
- 8ccf48a - Allow a method call to be optional
- aa8279e - travis: add go1.9
- c0f1d44 - indent actual value for better comparison with expected value
- 249123e - Implement delta comparison for map values
- 88a414d - generalize Empty assertion
- 2aa2c17 - Fix unprotected call fields access in MethodCalled()
- 890a5c3 - Issue #469 fix
- 05e8a0e - Fix the actuality of InEpsilon
- 2f1cd6b - time.Duraions are numbers too
- b1f9894 - Fix InDelta expected nan check message
- 4b92304 - Fix actual float conversion error message under calcRelativeError
- f6abca5 - Added assert.PanicsWithValue + tests
- e964b17 - add MethodCalled to the mock
- 46b3c82 - Simple validation of Equal/NotEqual assertion arguments
- cc18973 - Fix gogenerate travis check
- e179a18 - Travis check go generate has been run
- 3458981 - Run go vet in travis
- c7668ea - Fixes #339 - Add
assertion
f assertions like Errorf and Equalf - c33f336 - Fix vet warnings and go generate to update docs
- 3104bf5 - Use Go 1.7 subtests so suites can properly nest
- b8c9b4e - Merge pull request #447 from stretchr/issue-442
- bd79c01 - Fix race condition on mock package's Called
- 253219d - Merge pull request #396 from medzin/issue-379
- edd8e19 - Run go generate to syn generated assertions
- aa10ab5 - Merge pull request #382 from GlenDC/feat-test-subset
- 78be756 - Fixed HTTP assertions messages formatting and removed wrong test message
- 3a59a58 - add Subset and NotSubset assertions
- e68c5c5 - Merge pull request #446 from stretchr/gofmt-in-travis
- dd57c7b - Check code is formatted in travis
- eb84487 - Merge pull request #441 from stretchr/revert-commits
- f712be9 - Revert "add mock.MethodCalled(methodName, args...)"
- 34687eb - Revert "diffArguments: remove unnecessary range-for (#417)"
- 2b76a97 - Revert "Added goconvey style assertions to the mock package"
- b6296e3 - fix(docs): correct Error usage examples
- d2f3716 - Add msgAndArgs pass forward to InDelta from InDeltaSlice
- 158f9d0 - Check that there is a directory before trying to access it.
- 18cfa68 - Added extra unit test for function with mixed variadic arguments.
- b1f1bcb - fix typo
- 09f61d7 - assert: fix error reporting when error contains escape sequences
- 5c861cc - diffArguments: remove unnecessary range-for (#417)
- bc11a6e - Tighten language by increasing overall consistency in wording in texts and argument names: use 'actual' instead of 'received'
- 115ab90 - Provide argument name
args
in function signature - faf0710 - Added goconvey style assertions to the mock package
- 97c0e43 - compare bytes with bytes.Equal instead of reflect.DeepEqual
- 17a0bd5 - add mock.MethodCalled(methodName, args...)
- 9afdd65 - Check number of provided arguments vs mocked
- c67cacc - Merge pull request #438 from josephholsten/test-old-go
- 287336f - travis: rm broken go releases
- 32d79c5 - travis: check if these platforms are broken
- 5c9da49 - HTTP code status assertions now fail tests
- 4d4bfba - Merge pull request #392 from stretchr/add-nil-unequal-check
- 332ae0e - Add Equal test comparing nil with non-nil
- 2402e8e - Merge pull request #364 from nmiyake/fixFailOutput
- 598ab58 - Merge pull request #171 from ANPez/master
- cd206b0 - Merge pull request #318 from esdrasbeleza/master
- ae4c58e - Merge pull request #367 from packrat386/rm_numeric_check
- 6ac1453 - Merge pull request #370 from nmiyake/fixTypos
- 211175b - Merge pull request #377 from seppestas/typo-fixes
- 59b4bc5 - Merge pull request #371 from nmiyake/addEqualityDocs
- 434d5c1 - Fixed minor typo
- 3928f57 - Add comments for Equal and NotEqual to clarify pointer comparison
- 13b9dd4 - Fix typos in comments in _codegen/main.go
- 6835870 - Remove isNumericType check
- 18a02ba - Merge pull request #365 from atombender/remove_addresses_from_diff
- cbd71e7 - When diffing with spew, use a format that doesn't include pointer addresses (which generate false negatives). This updates go-spew to 04cdfd42973bb9c8589fd6a731800cf222fde1a9.
- ddb91ee - Ensure that assert.Fail properly align its output
- 5e72f93 - Remove timestamp from callback
- 976c720 - Format generated code
- 4b9bfb8 - run go/format on generated code
- 75f4cfe - Merge pull request #331 from ansel1/master
- 4ccf54a - Clearer messages
- bf7a93e - Add timestamp
- fcedfe2 - Add callbacks to run before and after each test
- 8879a01 - Unlock and relock not needed anymore. Addresses #167.
- 384cc66 - Merge branch 'master' of https://github.com/stretchr/testify
- 4a6e516 - Added test to avoid regresions of #167.
- 547cd8e - Release lock before .WaitUntil, as it may cause a deadlock when testing parallel objects. Address #167: Unable to test concurrent objects