PackageTrack
Sign in Get early access

test-context

A library for providing custom setup/teardown for Rust tests without needing a test harness

0.5.8 7.1M downloads/mo #3753 most downloaded on crates.io source

What this package is like to depend on

Last release 4 months ago

24 Apr 2026

Release timing varies

gaps range from 8 days to 1.6 years

Most releases are documented

notes for 15 of 17 stable releases

3 versions withdrawn

withdrawn after publishing

6 years old

20 releases · first in 2021

9 releases in the last 12 months

see the full history below

Release timeline

20 releases · Jan 2021 to Apr 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 20
  1. 0.5.8 24 Apr 2026
    Release notes

    Other

    • update deps
    Open source →
  2. 0.5.7 22 Apr 2026
    Release notes

    Fixed

    • fix/pattern-matching-breaks-compilation (#4)
    Open source →
  3. 0.5.6 22 Apr 2026
    Release notes

    Other

    • Updated docs
    Open source →
  4. 0.5.5 07 Mar 2026
    Release notes

    Other

    • Update README.md
    Open source →
  5. 0.5.4 10 Nov 2025
    Release notes

    Other

    • internal refactor & update docs (#64)
    Open source →
  6. 0.5.3 06 Nov 2025
    Release notes

    Fixed

    • Taking mutable ownership when skipping the teardown doesn't work (#60)
    Open source →
  7. 0.5.2 06 Nov 2025 withdrawn
    Release notes

    Added

    • make it so immutable references & full ownership can be taken depending on context (#58)

    Other

    • update CHANGELOGS
    Open source →
  8. 0.5.1 04 Nov 2025
    Release notes

    Fixed

    • Regression in version 0.5.0 (#55)

    Added

    • Add a CHANGELOG by @JasterV
    • Add a rust-toolchain.toml by @JasterV
    Open source →
  9. 0.5.0 29 Oct 2025 withdrawn
    Release notes

    Added

    • Added the ability to work with rstest by @killpop3770 in #51

    Changed

    • Explain why #[test_context] must come before #[tokio::test]; clarify attribute expansion order by @vilinski in #49
    • Update README.md by @JasterV in #47
    • Update dependabot & add release-plz workflow by @JasterV

    Fixed

    • Manual drop on tests by @JasterV

    New Contributors

    • @killpop3770 made their first contribution in #51
    • @vilinski made their first contribution in #49
    Open source →
  10. 0.4.1 27 Jan 2025

    Nothing published for this version

  11. 0.4.0 27 Jan 2025
    Release notes

    Changed

    • Upgrade to 0.4.0 by @JasterV in #46
    • Support generic types in test_context macro by @JasterV in #45
    • Support generic types in test_context macro by @rookiecj in #44

    New Contributors

    • @rookiecj made their first contribution in #44
    Open source →
  12. 0.3.0 27 Feb 2024
    Release notes

    Added

    • Add support for the skip_teardown keyword by @JasterV in #40

    Changed

    • Upgrade to 0.3.0 by @JasterV in #41
    • Merge pull request #39 from JasterV/refactor/test-context-macro by @JasterV in #39
    • Clean up the macro implementation by @JasterV
    Open source →
  13. 0.2.0 26 Feb 2024
    Release notes

    Changed

    • Merge pull request #38 from JasterV/chore/upgrade-to-0.2.0-version by @JasterV in #38
    • Upgrade to 0.2.0 version by @JasterV
    • Merge pull request #37 from JasterV/refactor/remove-async-trait-support by @JasterV in #37

    Removed

    • Remove support for async-trait crate by @JasterV
    Open source →
  14. 0.1.6 26 Feb 2024
    Release notes

    Changed

    • Merge pull request #36 from JasterV/chore/update-to-0-1-6 by @JasterV in #36
    • Update to 0.1.6 by @JasterV
    • Merge pull request #35 from JasterV/chore/update-patch-version by @JasterV in #35
    • Update patch version by @JasterV
    • Merge pull request #34 from JasterV/refactor/cargo-workspace by @JasterV in #34
    • Update workspace properties by @JasterV
    • Restructure the workspace members organization by @JasterV
    • Merge pull request #33 from JasterV/chore/update-package-information by @JasterV in #33
    • Update crate information by @JasterV
    • Merge pull request #31 from JasterV/fix/doc-tests-clippy-error by @JasterV in #31
    • Merge pull request #29 from JasterV/dependabot/cargo/syn-tw-2 by @JasterV in #29
    • Merge branch 'main' into dependabot/cargo/syn-tw-2 by @JasterV
    • Merge pull request #23 from yotamofek/syn2 by @JasterV in #23
    • Merge branch 'main' into syn2 by @JasterV
    • Merge branch 'main' into syn2 by @JasterV
    • Update syn by @yotamofek
    • Update syn requirement from ^1 to ^2 by @dependabot[bot]
    • Merge pull request #30 from JasterV/chore/update-to-2021-edition by @JasterV in #30
    • Update to 2021 rust edition by @JasterV
    • Merge pull request #28 from JasterV/JasterV-patch-1 by @JasterV in #28
    • Create dependabot.yml by @JasterV
    • Merge pull request #27 from JasterV/JasterV-patch-1 by @JasterV in #27
    • Update README.md by @JasterV
    • Update README.md by @markhildreth
    • Merge pull request #19 from SomeoneToIgnore/patch-1 by @markhildreth in #19
    • Use proper World capitalization in the main example by @SomeoneToIgnore

    Fixed

    • Clippy unit test on doctests warnings by @JasterV

    New Contributors

    • @JasterV made their first contribution in #36
    • @dependabot[bot] made their first contribution
    • @yotamofek made their first contribution
    • @SomeoneToIgnore made their first contribution
    Open source →
  15. 0.1.5 26 Feb 2024 withdrawn

    Nothing published for this version

  16. 0.1.4 19 Jul 2022
    Release notes

    Changed

    • Merge pull request #17 from markhildreth/bump-to-0.1.4 by @markhildreth in #17
    • Bumped to 0.1.4 by @markhildreth
    • Merge pull request #16 from markhildreth/use-original-argument-list by @markhildreth in #16
    • Copy original argument list directly from input token stream. by @markhildreth
    Open source →
  17. 0.1.3 27 Feb 2021
    Release notes

    Added

    • Add basic impl TestContext for AsyncTestContext by @Shadow53

    Changed

    • Merge pull request #11 from markhildreth/bump-to-0.1.3 by @markhildreth in #11
    • Bumped to v0.1.3 by @markhildreth
    • Merge pull request #10 from markhildreth/add-sync-async-impl-docs by @markhildreth in #10
    • Documented behavior of AsyncContext with normal function. by @markhildreth
    • Merge pull request #9 from Shadow53/impl-sync-for-async by @markhildreth in #9
    • Run cargo fmt by @Shadow53

    New Contributors

    • @Shadow53 made their first contribution
    Open source →
  18. 0.1.2 07 Feb 2021
    Release notes

    Added

    • Added badges by @markhildreth

    Changed

    • Merge pull request #7 from markhildreth/bump-to-0.1.2 by @markhildreth in #7
    • Bumped to version v0.1.2 by @markhildreth
    • Merge pull request #6 from markhildreth/badges by @markhildreth in #6
    • Merge pull request #5 from markhildreth/fixed-typo by @markhildreth in #5
    • Merge branch 'main' into fixed-typo by @markhildreth
    • Merge pull request #4 from markhildreth/future-dependency by @markhildreth in #4
    • Forced futures to be imported through test_context crate. by @markhildreth
    • Fixed typo in documentation by @markhildreth
    Open source →
  19. 0.1.1 18 Jan 2021
    Release notes

    Changed

    • Merge pull request #3 from markhildreth/v0.1.1 by @markhildreth in #3
    • Bumped to version v0.1.1 by @markhildreth
    • Merge pull request #2 from markhildreth/github-workflows by @markhildreth in #2
    • Updated github ci.yml by @markhildreth
    • Merge pull request #1 from markhildreth/allow-returns by @markhildreth in #1
    • Allow return of wrapped functions value. by @markhildreth
    Open source →
  20. 0.1.0 18 Jan 2021

    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