pytest-plugins 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {pytest_plugins-0.1.2/pytest_plugins.egg-info → pytest_plugins-0.1.3}/PKG-INFO +6 -11
  2. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/README.md +5 -10
  3. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3/pytest_plugins.egg-info}/PKG-INFO +6 -11
  4. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/setup.py +1 -1
  5. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/LICENSE +0 -0
  6. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/MANIFEST.in +0 -0
  7. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pyproject.toml +0 -0
  8. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/__init__.py +0 -0
  9. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/add_better_report.py +0 -0
  10. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/fail2skip.py +0 -0
  11. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/helper.py +0 -0
  12. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/max_fail_streak.py +0 -0
  13. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/models/__init__.py +0 -0
  14. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/models/base_class_test.py +0 -0
  15. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/models/execution_data.py +0 -0
  16. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/models/status.py +0 -0
  17. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/models/test_data.py +0 -0
  18. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins/pytest_helper.py +0 -0
  19. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins.egg-info/SOURCES.txt +0 -0
  20. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins.egg-info/dependency_links.txt +0 -0
  21. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins.egg-info/entry_points.txt +0 -0
  22. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins.egg-info/requires.txt +0 -0
  23. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/pytest_plugins.egg-info/top_level.txt +0 -0
  24. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/requirements.txt +0 -0
  25. {pytest_plugins-0.1.2 → pytest_plugins-0.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-plugins
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A Python package for managing pytest plugins.
5
5
  Home-page: https://github.com/aviz92/pytest-plugins
6
6
  Author: Avi Zaguri
@@ -35,9 +35,10 @@ It includes improved `conftest.py` fixtures, automated test result reporting, de
35
35
 
36
36
  ---
37
37
 
38
- ## Features
38
+ ## 🚀 Features
39
39
  - ✅ **`pytest-better-report`**: Enhanced test result tracking and structured JSON reporting.
40
40
  - ✅ **`pytest-maxfail-streak`**: Stop test execution after a configurable number of consecutive failures.
41
+ - ✅ **`pytest-fail2skip`**: Automatically skip tests that fail due to known issues, preventing unnecessary test runs.
41
42
 
42
43
  ---
43
44
 
@@ -47,22 +48,16 @@ It includes improved `conftest.py` fixtures, automated test result reporting, de
47
48
  - pytest --better-report-enable --pr-number=123
48
49
  - pytest-maxfail-streak
49
50
  - pytest --maxfail-streak-enable --maxfail-streak=3
51
+ - pytest-fail2skip
52
+ - pytest --fail2skip-enable # must add `@pytest.mark.fail2skip` decorator to the test function
50
53
 
51
54
  or use the `pytest.ini` configuration file to set default values for these plugins.
52
55
 
53
56
  ```ini
54
57
  [pytest]
55
- addopts = --better-report-enable --maxfail-streak-enable --maxfail-streak=3
58
+ addopts = --better-report-enable --pr-number=123 --maxfail-streak-enable --maxfail-streak=3 --fail2skip-enable
56
59
  ```
57
60
 
58
- or
59
-
60
- ```ini
61
- [pytest]
62
- addopts = --better-report-enable --pr-number=123 --maxfail-streak-enable --maxfail-streak=3
63
- ```
64
-
65
-
66
61
  ---
67
62
 
68
63
  ## 🤝 Contributing
@@ -4,9 +4,10 @@ It includes improved `conftest.py` fixtures, automated test result reporting, de
4
4
 
5
5
  ---
6
6
 
7
- ## Features
7
+ ## 🚀 Features
8
8
  - ✅ **`pytest-better-report`**: Enhanced test result tracking and structured JSON reporting.
9
9
  - ✅ **`pytest-maxfail-streak`**: Stop test execution after a configurable number of consecutive failures.
10
+ - ✅ **`pytest-fail2skip`**: Automatically skip tests that fail due to known issues, preventing unnecessary test runs.
10
11
 
11
12
  ---
12
13
 
@@ -16,22 +17,16 @@ It includes improved `conftest.py` fixtures, automated test result reporting, de
16
17
  - pytest --better-report-enable --pr-number=123
17
18
  - pytest-maxfail-streak
18
19
  - pytest --maxfail-streak-enable --maxfail-streak=3
20
+ - pytest-fail2skip
21
+ - pytest --fail2skip-enable # must add `@pytest.mark.fail2skip` decorator to the test function
19
22
 
20
23
  or use the `pytest.ini` configuration file to set default values for these plugins.
21
24
 
22
25
  ```ini
23
26
  [pytest]
24
- addopts = --better-report-enable --maxfail-streak-enable --maxfail-streak=3
27
+ addopts = --better-report-enable --pr-number=123 --maxfail-streak-enable --maxfail-streak=3 --fail2skip-enable
25
28
  ```
26
29
 
27
- or
28
-
29
- ```ini
30
- [pytest]
31
- addopts = --better-report-enable --pr-number=123 --maxfail-streak-enable --maxfail-streak=3
32
- ```
33
-
34
-
35
30
  ---
36
31
 
37
32
  ## 🤝 Contributing
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-plugins
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A Python package for managing pytest plugins.
5
5
  Home-page: https://github.com/aviz92/pytest-plugins
6
6
  Author: Avi Zaguri
@@ -35,9 +35,10 @@ It includes improved `conftest.py` fixtures, automated test result reporting, de
35
35
 
36
36
  ---
37
37
 
38
- ## Features
38
+ ## 🚀 Features
39
39
  - ✅ **`pytest-better-report`**: Enhanced test result tracking and structured JSON reporting.
40
40
  - ✅ **`pytest-maxfail-streak`**: Stop test execution after a configurable number of consecutive failures.
41
+ - ✅ **`pytest-fail2skip`**: Automatically skip tests that fail due to known issues, preventing unnecessary test runs.
41
42
 
42
43
  ---
43
44
 
@@ -47,22 +48,16 @@ It includes improved `conftest.py` fixtures, automated test result reporting, de
47
48
  - pytest --better-report-enable --pr-number=123
48
49
  - pytest-maxfail-streak
49
50
  - pytest --maxfail-streak-enable --maxfail-streak=3
51
+ - pytest-fail2skip
52
+ - pytest --fail2skip-enable # must add `@pytest.mark.fail2skip` decorator to the test function
50
53
 
51
54
  or use the `pytest.ini` configuration file to set default values for these plugins.
52
55
 
53
56
  ```ini
54
57
  [pytest]
55
- addopts = --better-report-enable --maxfail-streak-enable --maxfail-streak=3
58
+ addopts = --better-report-enable --pr-number=123 --maxfail-streak-enable --maxfail-streak=3 --fail2skip-enable
56
59
  ```
57
60
 
58
- or
59
-
60
- ```ini
61
- [pytest]
62
- addopts = --better-report-enable --pr-number=123 --maxfail-streak-enable --maxfail-streak=3
63
- ```
64
-
65
-
66
61
  ---
67
62
 
68
63
  ## 🤝 Contributing
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- package_version = '0.1.2'
3
+ package_version = '0.1.3'
4
4
 
5
5
  package_name = 'pytest-plugins'
6
6
  package_description = 'A Python package for managing pytest plugins.'
File without changes
File without changes