Commit graph

76 commits

Author SHA1 Message Date
Víctor Martínez
ef4bdb28a9
fix: Regression in version 0.5.0 (#55)
An attempt to fix the issue defined in https://github.com/JasterV/test-context/issues/53 & some refactors
2025-11-04 17:27:53 +01:00
dependabot[bot]
90f0f92b66
chore(deps): bump actions/checkout from 2 to 5 (#52)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Víctor Martínez <49537445+JasterV@users.noreply.github.com>
2025-10-29 11:08:13 +01:00
JasterV
3aaaa2541d Update release-plz config & CHANGELOG 2025-10-29 11:07:19 +01:00
JasterV
1d50da304a chore: add a CHANGELOG 2025-10-29 10:46:36 +01:00
JasterV
0c17e65982 chore: add a rust-toolchain.toml 2025-10-29 10:43:11 +01:00
JasterV
29b67b0a6a chore: update dependabot & add release-plz workflow 2025-10-29 10:34:24 +01:00
JasterV
4dfe4c8919 fix: manual drop on tests 2025-10-29 10:23:08 +01:00
Vyacheslav
9227f3e693
Added the ability to work with rstest (#51)
* [FIX-CONFLICT-WITH-RSTEST-V2]: semi-stable version, fix test_context function, remove unnecessary field, remove wrapper function, add  ability to work with rstest and same

* [FIX-CONFLICT-WITH-RSTEST-V2]: stable version, fix bugs with AssertUnwindSafe in sync_wrapper_body, remove redundant code, fix two tests, add notes for this tests

* [FIX-CONFLICT-WITH-RSTEST-V2]: stable version, fix context name extraction function, fix readme, fix docs, increase version of crate

---------

Co-authored-by: Vyacheslav Volkov <v.volkov@st-falcon.ru>
2025-10-29 10:19:40 +01:00
Andreas Vilinski
5ce361bc24
docs: explain why #[test_context] must come before #[tokio::test]; clarify attribute expansion order (#49)
Co-authored-by: Andreas Vilinski <andreas.vilinski@ifm.com>
2025-09-23 17:10:59 +02:00
Víctor Martínez
64a4e1ba7f
Update README.md (#47) 2025-01-27 13:58:33 +01:00
Víctor Martínez
5c8a0a1d51
chore: upgrade to 0.4.0 (#46) 2025-01-27 13:51:33 +01:00
Víctor Martínez
9bfe21fa4c
refactor: Support generic types in test_context macro (#45)
* refactor: Support generic types in test_context macro
2025-01-27 12:49:28 +01:00
Changju Lee
a58e13ecf5
feat: Support generic types in test_context macro (#44)
- Allow using test_context with generic contexts like MyContext<T>
2025-01-27 11:53:39 +01:00
Víctor Martínez
7cab7279b4
chore: upgrade to 0.3.0 (#41) 2024-02-27 23:29:48 +01:00
Víctor Martínez
dc2992cbff
feat: add support for the skip_teardown keyword (#40)
* feat: add support for the skip_teardown keyword
2024-02-27 23:26:40 +01:00
Víctor Martínez
8fd7841baa
Merge pull request #39 from JasterV/refactor/test-context-macro
refactor: clean up the macro implementation
2024-02-26 16:05:17 +01:00
Victor Martinez
0fed446341 refactor: clean up the macro implementation 2024-02-26 16:03:47 +01:00
Víctor Martínez
890a3232e9
Merge pull request #38 from JasterV/chore/upgrade-to-0.2.0-version
chore: upgrade to 0.2.0 version
2024-02-26 12:14:32 +01:00
Victor Martinez
be1f0e1dbd chore: upgrade to 0.2.0 version 2024-02-26 12:12:38 +01:00
Víctor Martínez
eb9367e04a
Merge pull request #37 from JasterV/refactor/remove-async-trait-support
refactor: remove support for async-trait crate
2024-02-26 12:09:47 +01:00
Victor Martinez
cb4043fae6 refactor: remove support for async-trait crate 2024-02-26 12:05:07 +01:00
Víctor Martínez
d932f8529f
Merge pull request #36 from JasterV/chore/update-to-0-1-6
chore: update to 0.1.6
2024-02-26 10:13:30 +01:00
Victor Martinez
2afbd36dae chore: update to 0.1.6 2024-02-26 10:13:00 +01:00
Víctor Martínez
9dba8ad7c0
Merge pull request #35 from JasterV/chore/update-patch-version
chore: update patch version
2024-02-26 10:03:16 +01:00
Victor Martinez
cb6ddf7356 chore: update patch version 2024-02-26 09:59:45 +01:00
Víctor Martínez
eb28f20c39
Merge pull request #34 from JasterV/refactor/cargo-workspace
[Refactor] Cargo workspace
2024-02-26 00:30:42 +01:00
Victor Martinez
58faeefa63 chore: update workspace properties 2024-02-26 00:27:59 +01:00
Victor Martinez
3539bcdd6d refactor: restructure the workspace members organization 2024-02-26 00:19:53 +01:00
Víctor Martínez
1e161bcd46
Merge pull request #33 from JasterV/chore/update-package-information
chore: update crate information
2024-02-25 23:43:41 +01:00
Victor Martinez
352be5dc90 chore: update crate information 2024-02-25 23:43:19 +01:00
Víctor Martínez
bd43160d42
Merge pull request #31 from JasterV/fix/doc-tests-clippy-error
fix: clippy unit test on doctests warnings
2024-02-25 23:35:02 +01:00
Victor Martinez
08f85ee2a1 fix: clippy unit test on doctests warnings 2024-02-25 23:29:18 +01:00
Víctor Martínez
ed0ecb319f
Merge pull request #29 from JasterV/dependabot/cargo/syn-tw-2
Update syn requirement from ^1 to ^2
2024-02-25 23:21:58 +01:00
Víctor Martínez
5b6c44d5b4
Merge branch 'main' into dependabot/cargo/syn-tw-2 2024-02-25 23:21:49 +01:00
Víctor Martínez
be4dd4e39c
Merge pull request #23 from yotamofek/syn2
Update syn to 2.x
2024-02-25 23:21:30 +01:00
Víctor Martínez
1c1f506f56
Merge branch 'main' into syn2 2024-02-25 23:20:20 +01:00
dependabot[bot]
76b18ec7d9
Update syn requirement from ^1 to ^2
Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.0...2.0.50)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25 22:19:46 +00:00
Víctor Martínez
330f938110
Merge pull request #30 from JasterV/chore/update-to-2021-edition
chore: update to 2021 rust edition
2024-02-25 23:19:12 +01:00
Victor Martinez
8a2f5895db chore: update to 2021 rust edition 2024-02-25 23:18:26 +01:00
Víctor Martínez
0180c24783
Merge pull request #28 from JasterV/JasterV-patch-1
chore: Enable Dependabot
2024-02-25 23:15:37 +01:00
Víctor Martínez
55a0b96747
Create dependabot.yml 2024-02-25 23:13:20 +01:00
Víctor Martínez
ed6a0180a7
Merge branch 'main' into syn2 2024-02-25 23:11:33 +01:00
Víctor Martínez
f0eab448f8
Merge pull request #27 from JasterV/JasterV-patch-1
Update README.md
2024-02-25 23:11:12 +01:00
Víctor Martínez
b3a7975253
Update README.md 2024-02-25 23:10:57 +01:00
Mark Hildreth
4814198ca2
Update README.md 2024-02-25 15:03:12 -05:00
Yotam Ofek
ec15b395b0 Update syn 2023-12-31 08:51:55 +00:00
Mark Hildreth
2573779967
Merge pull request #19 from SomeoneToIgnore/patch-1
Use proper World capitalization in the main example
2023-03-29 17:30:18 -04:00
Kirill Bulatov
8a40f16a34
Use proper World capitalization in the main example 2023-03-28 17:20:03 +03:00
Mark Hildreth
b22fcb72f5
Merge pull request #17 from markhildreth/bump-to-0.1.4
Bumped to 0.1.4
2022-07-19 16:29:14 -04:00
Mark Hildreth
e77ed125dc Bumped to 0.1.4 2022-07-19 16:24:32 -04:00