Skip to content

Commit 4af2104

Browse files
author
Sylvain MARIE
committed
3.5.0 changelog
1 parent ed4929d commit 4af2104

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
### 3.5.0 - New `current_cases` fixture and `get_current_cases` function
4+
5+
- Improved error message when a fixture parametrized with several argnames as once is not able to unpack the parameter values received (non subscriptable object).
6+
7+
- `parametrize_plus` and `fixture_plus` are now deprecated in favour of `parametrize` and `fixture`, as most users seem to have adopted these names without issues.
8+
9+
- Users can now easily access the current cases for each parametrized argument thanks to the new `current_cases` fixture. A new helper function `get_current_cases` is also provided, for direct access from a hook. `get_current_case_id` becomes deprecated in favour of these two. Fixes [#195](https://github.com/smarie/python-pytest-cases/issues/195)
10+
11+
- (internal) Replaced the `"used"` parameter with a dedicated singleton `USED`
12+
313
### 3.4.6 - Increased compatibility with other plugins
414

515
- `LazyValue`, `LazyTuple` and `LazyTupleItem` are now hashable. This increases compatibility with plugins hashing the parameter values, such as pytest-steps. See [pytest-steps#41](https://github.com/smarie/python-pytest-steps/issues/41) . Fixes [#199](https://github.com/smarie/python-pytest-cases/issues/199)

0 commit comments

Comments
 (0)