Skip to content

Commit 29451c2

Browse files
authored
Tests: Improved parametrization (#570)
- Consolidate version-related tests into parametrized fixtures using NamedTuples - Add comprehensive test cases for various version formats - Improve test readability with clear test IDs and logical grouping - Ensure consistent use of pytest parametrize convention across test suite - Fix broken test for `test_window_rename` The PR improves test maintainability by: - Converting individual test functions into parametrized fixtures - Adding clear test IDs for better test output and debugging - Consolidating related test cases into logical groups - Maintaining consistent patterns across the test suite
2 parents e2bbf72 + 0c047a5 commit 29451c2

File tree

5 files changed

+633
-212
lines changed

5 files changed

+633
-212
lines changed

CHANGES

+9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ $ pip install --user --upgrade --pre libtmux
1515

1616
- _Future release notes will be placed here_
1717

18+
### Development
19+
20+
- Improved test organization and coverage in `test_common.py` (#570):
21+
- Consolidated version-related tests into parametrized fixtures using NamedTuples
22+
- Added comprehensive test cases for various version formats (master, next, OpenBSD, dev, rc)
23+
- Improved test readability with clear test IDs and logical grouping
24+
- Consistent use of pytest parametrize convention across test suite
25+
- Fix broken test for `test_window_rename` (#570)
26+
1827
## libtmux 0.44.1 (2025-02-17)
1928

2029
### Packaging

0 commit comments

Comments
 (0)