PackageTrack
Sign in Get early access

github.com/stretchr/testify

v1.12.1 #85 most downloaded on Go modules stretchr/testify

What this package is like to depend on

Last release 3 days ago

20 Aug 2026

Release timing varies

gaps range from 8 days to 3 months

Some releases are documented

notes for 9 of 30 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

951 releases · first in 2012

52 releases in the last 12 months

see the full history below

Release timeline

951 releases · Oct 2012 to Aug 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 951
  1. v1.12.2-0.20260820143810-c627960a7323 20 Aug 2026 pre-release

    Nothing published for this version

  2. v1.12.1 17 Aug 2026
    Release notes

    This is the first release which has the minimum dependencies practical in testify v1. The last remaining dependencies are github.com/stretchr/objx which itself has no dependencies, and go.yaml.in/yaml/v3. Removing objx would require v2, it cannot be vendored. Removing YAML would require vendoring the yaml library, which would do more harm than good. It's better to become aware of vulnerabilities in the official yaml package than to attempt to maintain our own.

    What's Changed

    New Contributors

    Full Changelog: v1.12.0...v1.12.1

    What's Changed

    New Contributors

    Full Changelog: v1.12.0...v1.12.1

    Open source →
  3. v1.12.1-0.20260817082405-959dbdacf153 17 Aug 2026 pre-release

    Nothing published for this version

  4. v1.12.0 10 Jun 2026
    Release notes

    What's Changed

    Functional Changes

    • assert: make *AssertionFunc types just aliases by @dolmen in #1563

    Fixes

    Documentation, Build & CI

    New Contributors

    Full Changelog: v1.11.0...v1.12.0

    What's Changed

    New Contributors

    Full Changelog: v1.11.0...v1.12.0

    Open source →
  5. v1.11.1 27 Aug 2025
    Release notes

    This release fixes #1785 introduced in v1.11.0 where expected argument values implementing the stringer interface (String() string) with a method which mutates their value, when passed to mock.Mock.On (m.On("Method", <expected>).Return()) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.

    What's Changed

    • Backport #1786 to release/1.11: mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by @brackendawson in #1788

    Full Changelog: v1.11.0...v1.11.1

    Open source →
  6. v1.11.1-0.20260610141043-001eb7946baf 10 Jun 2026 pre-release

    Nothing published for this version

  7. v1.11.1-0.20260515015452-12f8b5612e12 15 May 2026 pre-release

    Nothing published for this version

  8. v1.11.1-0.20260513134753-dc20f419863a 13 May 2026 pre-release

    Nothing published for this version

  9. v1.11.1-0.20260511152800-37a3cb7cc084 11 May 2026 pre-release

    Nothing published for this version

  10. v1.11.1-0.20260507153116-c920f8006d65 07 May 2026 pre-release

    Nothing published for this version

  11. v1.11.1-0.20260506081252-d75b7070920f 06 May 2026 pre-release

    Nothing published for this version

  12. v1.11.1-0.20260304064832-5f80e4aef7be 04 Mar 2026 pre-release

    Nothing published for this version

  13. v1.11.1-0.20260225135613-b13d7e38ac61 25 Feb 2026 pre-release

    Nothing published for this version

  14. v1.11.1-0.20260223190237-c7007d3defa0 23 Feb 2026 pre-release

    Nothing published for this version

  15. v1.11.1-0.20260217151418-101072d18a7d 17 Feb 2026 pre-release

    Nothing published for this version

  16. v1.11.1-0.20251128102321-65697cefca1d 28 Nov 2025 pre-release

    Nothing published for this version

  17. v1.11.1-0.20251022131221-429ee0b8f4ef 22 Oct 2025 pre-release

    Nothing published for this version

  18. v1.11.1-0.20250919115354-feb1324bc3d0 19 Sep 2025 pre-release

    Nothing published for this version

  19. v1.11.1-0.20250919114251-49bcd2ad6723 19 Sep 2025 pre-release

    Nothing published for this version

  20. v1.11.1-0.20250916131232-6c30310a8d0c 16 Sep 2025 pre-release

    Nothing published for this version

  21. v1.11.1-0.20250915125144-a0ac157f0b1f 15 Sep 2025 pre-release

    Nothing published for this version

  22. v1.11.1-0.20250913203643-5fa984a7595b 13 Sep 2025 pre-release

    Nothing published for this version

  23. v1.11.1-0.20250912062812-b9167dae6580 12 Sep 2025 pre-release

    Nothing published for this version

  24. v1.11.1-0.20250911163653-f03d03715242 11 Sep 2025 pre-release

    Nothing published for this version

  25. v1.11.1-0.20250910065339-b5a0821dcb51 10 Sep 2025 pre-release

    Nothing published for this version

  26. v1.11.1-0.20250909071446-cbd8483e6261 09 Sep 2025 pre-release

    Nothing published for this version

  27. v1.11.1-0.20250909061828-5afd74fb37ea 09 Sep 2025 pre-release

    Nothing published for this version

  28. v1.11.1-0.20250901062747-a87733af7111 01 Sep 2025 pre-release

    Nothing published for this version

  29. v1.11.1-0.20250831184432-38d9e83f5afa 31 Aug 2025 pre-release

    Nothing published for this version

  30. v1.11.1-0.20250829151237-ce48cb33eae0 29 Aug 2025 pre-release

    Nothing published for this version

  31. v1.11.1-0.20250829091646-e8daaaca9cd5 29 Aug 2025 pre-release

    Nothing published for this version

  32. v1.11.1-0.20250827103133-c952903e9f73 27 Aug 2025 pre-release

    Nothing published for this version

  33. v1.11.1-0.20250825141246-f4f5960503ab 25 Aug 2025 pre-release

    Nothing published for this version

  34. v1.11.1-0.20250825140554-af161709418f 25 Aug 2025 pre-release

    Nothing published for this version

  35. v1.11.1-0.20250825121340-580d80711200 25 Aug 2025 pre-release

    Nothing published for this version

  36. v1.11.1-0.20250818193004-e581b36d7b36 18 Aug 2025 pre-release

    Nothing published for this version

  37. v1.11.1-0.20250818160815-b9a23f4b6a88 18 Aug 2025 pre-release

    Nothing published for this version

  38. v1.11.1-0.20250818160815-8976267da7c4 18 Aug 2025 pre-release

    Nothing published for this version

  39. v1.11.0 17 Aug 2025
    Release notes

    What's Changed

    Functional Changes

    v1.11.0 Includes a number of performance improvements.

    Fixes

    • assert.ErrorAs: log target type by @craig65535 in #1345
    • Fix failure message formatting for Positive and Negative asserts in #1062
    • Improve ErrorIs message when error is nil but an error was expected by @tsioftas in #1681
    • fix Subset/NotSubset when calling with mixed input types by @siliconbrain in #1729
    • Improve ErrorAs failure message when error is nil by @ccoVeille in #1734
    • mock.AssertNumberOfCalls: improve error msg by @3scalation in #1743

    Documentation, Build & CI

    • docs: Fix typo in README by @alexandear in #1688
    • Replace deprecated io/ioutil with io and os by @alexandear in #1684
    • Document consequences of calling t.FailNow() by @greg0ire in #1710
    • chore: update docs for Unset #1621 by @techfg in #1709
    • README: apply gofmt to examples by @alexandear in #1687
    • refactor: use %q and %T to simplify fmt.Sprintf by @alexandear in #1674
    • Propose Christophe Colombier (ccoVeille) as approver by @brackendawson in #1716
    • Update documentation for the Error function in assert or require package by @architagr in #1675
    • assert: remove deprecated build constraints by @alexandear in #1671
    • assert: apply gofumpt to internal test suite by @ccoVeille in #1739
    • CI: fix shebang in .ci.*.sh scripts by @dolmen in #1746
    • assert,require: enable parallel testing on (almost) all top tests by @dolmen in #1747
    • suite.Passed: add one more status test report by @Ararsa-Derese in #1706
    • Add Helper() method in internal mocks and assert.CollectT by @dolmen in #1423
    • assert.Same/NotSame: improve usage of Sprintf by @ccoVeille in #1742
    • mock: enable parallel testing on internal testsuite by @dolmen in #1756
    • suite: cleanup use of 'testing' internals at runtime by @dolmen in #1751
    • assert: check test failure message for Empty and NotEmpty by @ccoVeille in #1745
    • deps: fix dependency cycle with objx (again) by @dolmen in #1567
    • assert.Empty: comprehensive doc of "Empty"-ness rules by @dolmen in #1753
    • doc: improve godoc of top level 'testify' package by @dolmen in #1760
    • assert.ErrorAs: simplify retrieving the type name by @ccoVeille in #1740
    • assert.EqualValues: improve test coverage to 100% by @dolmen in #1763
    • suite.Run: simplify running of Setup/TeardownSuite by @renzoarreaza in #1769
    • assert.CallerInfo: micro optimization by using LastIndexByte by @dolmen in #1767
    • assert.CallerInfo: micro cleanup by @dolmen in #1768
    • assert: refactor TestFileExists and TestDirExists tests to enable parallel testing by @dolmen in #1766
    • suite.Run: refactor handling of stats for improved readability by @dolmen in #1764
    • tests: improve captureTestingT helper by @ccoVeille in #1741
    • build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #1778

    New Contributors

    Full Changelog: v1.10.0...v1.11.0

    Open source →
  40. v1.10.1-0.20250818193004-e581b36d7b36 18 Aug 2025 pre-release

    Nothing published for this version

  41. v1.10.1-0.20250817155751-b7801fbf5cd5 17 Aug 2025 pre-release

    Nothing published for this version

  42. v1.10.1-0.20250701074529-a53be35c3b0c 01 Jul 2025 pre-release

    Nothing published for this version

  43. v1.10.1-0.20250630161813-aafb604176db 30 Jun 2025 pre-release

    Nothing published for this version

  44. v1.10.1-0.20250630161345-929a2126c270 30 Jun 2025 pre-release

    Nothing published for this version

  45. v1.10.1-0.20250630160624-87101a6e4a58 30 Jun 2025 pre-release

    Nothing published for this version

  46. v1.10.1-0.20250620081022-5c949551ee96 20 Jun 2025 pre-release

    Nothing published for this version

  47. v1.10.1-0.20250619081800-b50b016f5259 19 Jun 2025 pre-release

    Nothing published for this version

  48. v1.10.1-0.20250616142133-7c2bbf9ebc94 16 Jun 2025 pre-release

    Nothing published for this version

  49. v1.10.1-0.20250604180040-7127b6099902 04 Jun 2025 pre-release

    Nothing published for this version

  50. v1.10.1-0.20250604111530-26b02e2f383f 04 Jun 2025 pre-release

    Nothing published for this version

  51. v1.10.1-0.20250603130406-7bcd66c6d684 03 Jun 2025 pre-release

    Nothing published for this version

  52. v1.10.1-0.20250603095319-7a1b408b7ce1 03 Jun 2025 pre-release

    Nothing published for this version

  53. v1.10.1-0.20250602221108-c519b7942b86 02 Jun 2025 pre-release

    Nothing published for this version

  54. v1.10.1-0.20250602150025-5d95b18ab536 02 Jun 2025 pre-release

    Nothing published for this version

  55. v1.10.1-0.20250601213923-553e822bab70 01 Jun 2025 pre-release

    Nothing published for this version

  56. v1.10.1-0.20250601213922-250eaa5e06e4 01 Jun 2025 pre-release

    Nothing published for this version

  57. v1.10.1-0.20250531124810-a5d5c3395e07 31 May 2025 pre-release

    Nothing published for this version

  58. v1.10.1-0.20250530152203-0ff4bb43de0b 30 May 2025 pre-release

    Nothing published for this version

  59. v1.10.1-0.20250530140810-4f71159ca8c6 30 May 2025 pre-release

    Nothing published for this version

  60. v1.10.1-0.20250527214248-3c1541a3b402 27 May 2025 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive