Testify v1.2.0 Release Notes

Release Date: 2017-12-30 // over 4 years ago
    • ๐Ÿšš 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 assertionf 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