punit 1.1.1__tar.gz → 1.1.2__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 (32) hide show
  1. {punit-1.1.1 → punit-1.1.2}/PKG-INFO +11 -5
  2. {punit-1.1.1 → punit-1.1.2}/README.md +10 -4
  3. {punit-1.1.1 → punit-1.1.2}/punit/__init__.py +1 -1
  4. {punit-1.1.1 → punit-1.1.2}/punit/cli.py +4 -4
  5. {punit-1.1.1 → punit-1.1.2}/punit.egg-info/PKG-INFO +11 -5
  6. {punit-1.1.1 → punit-1.1.2}/pyproject.toml +1 -1
  7. {punit-1.1.1 → punit-1.1.2}/LICENSE +0 -0
  8. {punit-1.1.1 → punit-1.1.2}/punit/TestResult.py +0 -0
  9. {punit-1.1.1 → punit-1.1.2}/punit/__main__.py +0 -0
  10. {punit-1.1.1 → punit-1.1.2}/punit/assertions/__init__.py +0 -0
  11. {punit-1.1.1 → punit-1.1.2}/punit/assertions/collections.py +0 -0
  12. {punit-1.1.1 → punit-1.1.2}/punit/assertions/exceptions.py +0 -0
  13. {punit-1.1.1 → punit-1.1.2}/punit/assertions/strings.py +0 -0
  14. {punit-1.1.1 → punit-1.1.2}/punit/discovery/TestModuleDiscovery.py +0 -0
  15. {punit-1.1.1 → punit-1.1.2}/punit/discovery/__init__.py +0 -0
  16. {punit-1.1.1 → punit-1.1.2}/punit/facts/Fact.py +0 -0
  17. {punit-1.1.1 → punit-1.1.2}/punit/facts/FactManager.py +0 -0
  18. {punit-1.1.1 → punit-1.1.2}/punit/facts/__init__.py +0 -0
  19. {punit-1.1.1 → punit-1.1.2}/punit/reports/HtmlReportGenerator.py +0 -0
  20. {punit-1.1.1 → punit-1.1.2}/punit/reports/JUnitReportGenerator.py +0 -0
  21. {punit-1.1.1 → punit-1.1.2}/punit/reports/__init__.py +0 -0
  22. {punit-1.1.1 → punit-1.1.2}/punit/runner.py +0 -0
  23. {punit-1.1.1 → punit-1.1.2}/punit/theories/Theory.py +0 -0
  24. {punit-1.1.1 → punit-1.1.2}/punit/theories/TheoryManager.py +0 -0
  25. {punit-1.1.1 → punit-1.1.2}/punit/theories/__init__.py +0 -0
  26. {punit-1.1.1 → punit-1.1.2}/punit/traits/Trait.py +0 -0
  27. {punit-1.1.1 → punit-1.1.2}/punit/traits/__init__.py +0 -0
  28. {punit-1.1.1 → punit-1.1.2}/punit.egg-info/SOURCES.txt +0 -0
  29. {punit-1.1.1 → punit-1.1.2}/punit.egg-info/dependency_links.txt +0 -0
  30. {punit-1.1.1 → punit-1.1.2}/punit.egg-info/entry_points.txt +0 -0
  31. {punit-1.1.1 → punit-1.1.2}/punit.egg-info/top_level.txt +0 -0
  32. {punit-1.1.1 → punit-1.1.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: punit
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: A modernized unit-test framework for Python.
5
5
  Author-email: Shaun Wilson <mrshaunwilson@msn.com>
6
6
  Project-URL: Documentation, https://punit.readthedocs.io/
@@ -63,11 +63,12 @@ Outputs:
63
63
  ```plaintext
64
64
  Usage: python3 -m punit [-h|--help]
65
65
  [-q|--quiet] [-v|--verbose]
66
- [-f|--failfast]
66
+ [-z|--failfast]
67
67
  [-p|--test-package NAME]
68
68
  [-i|--include PATTERN]
69
69
  [-e|--exclude PATTERN]
70
- [-t|--filter PATTERN]
70
+ [-f|--filter PATTERN]
71
+ [-t|--trait [!]NAME[=VALUE]]
71
72
  [-w|--workdir DIRECTORY]
72
73
  [-n|--no-default-patterns]
73
74
  [-r|--report {junit|json}]
@@ -77,7 +78,7 @@ Options:
77
78
  -h, --help Show this help text and exit
78
79
  -q, --quiet Quiet output
79
80
  -v, --verbose Verbose output
80
- -f, --failfast Stop on first failure or error
81
+ -z, --failfast Stop on first failure or error
81
82
  -p, --test-package NAME
82
83
  Use NAME as the test package, all tests should
83
84
  be locatable as modules in the named package.
@@ -88,9 +89,14 @@ Options:
88
89
  -e, --exclude PATTERN
89
90
  Exclude any tests matching PATTERN, overriding --include
90
91
  Default: '__*__' (dunder files), '/.*/' (dot-directories)
91
- -t, --filter PATTERN
92
+ -f, --filter PATTERN
92
93
  Only execute tests matching PATTERN
93
94
  Default: '*'
95
+ -t, --trait [!]NAME[=VALUE]
96
+ Execute tests with the specified trait, negated by prefixing with '!'.
97
+ If VALUE is specified, matches tests with the trait having specified value.
98
+ If VALUE is not specified, matches any test with the trait having any value.
99
+ Default: No filtering based on traits.
94
100
  -w, --working-directory DIRECTORY
95
101
  Working directory (defaults to start directory)
96
102
  -n, --no-default-patterns
@@ -43,11 +43,12 @@ Outputs:
43
43
  ```plaintext
44
44
  Usage: python3 -m punit [-h|--help]
45
45
  [-q|--quiet] [-v|--verbose]
46
- [-f|--failfast]
46
+ [-z|--failfast]
47
47
  [-p|--test-package NAME]
48
48
  [-i|--include PATTERN]
49
49
  [-e|--exclude PATTERN]
50
- [-t|--filter PATTERN]
50
+ [-f|--filter PATTERN]
51
+ [-t|--trait [!]NAME[=VALUE]]
51
52
  [-w|--workdir DIRECTORY]
52
53
  [-n|--no-default-patterns]
53
54
  [-r|--report {junit|json}]
@@ -57,7 +58,7 @@ Options:
57
58
  -h, --help Show this help text and exit
58
59
  -q, --quiet Quiet output
59
60
  -v, --verbose Verbose output
60
- -f, --failfast Stop on first failure or error
61
+ -z, --failfast Stop on first failure or error
61
62
  -p, --test-package NAME
62
63
  Use NAME as the test package, all tests should
63
64
  be locatable as modules in the named package.
@@ -68,9 +69,14 @@ Options:
68
69
  -e, --exclude PATTERN
69
70
  Exclude any tests matching PATTERN, overriding --include
70
71
  Default: '__*__' (dunder files), '/.*/' (dot-directories)
71
- -t, --filter PATTERN
72
+ -f, --filter PATTERN
72
73
  Only execute tests matching PATTERN
73
74
  Default: '*'
75
+ -t, --trait [!]NAME[=VALUE]
76
+ Execute tests with the specified trait, negated by prefixing with '!'.
77
+ If VALUE is specified, matches tests with the trait having specified value.
78
+ If VALUE is not specified, matches any test with the trait having any value.
79
+ Default: No filtering based on traits.
74
80
  -w, --working-directory DIRECTORY
75
81
  Working directory (defaults to start directory)
76
82
  -n, --no-default-patterns
@@ -1,7 +1,7 @@
1
1
  # SPDX-FileCopyrightText: © Shaun Wilson
2
2
  # SPDX-License-Identifier: MIT
3
3
 
4
- __version__ = '1.1.1'
4
+ __version__ = '1.1.2'
5
5
 
6
6
  from .assertions import *
7
7
  from .facts import *
@@ -207,7 +207,7 @@ Usage: python3 -m punit [-h|--help]
207
207
  [-i|--include PATTERN]
208
208
  [-e|--exclude PATTERN]
209
209
  [-f|--filter PATTERN]
210
- [-t|--trait [!]NAME[:VALUE]]
210
+ [-t|--trait [!]NAME[=VALUE]]
211
211
  [-w|--workdir DIRECTORY]
212
212
  [-n|--no-default-patterns]
213
213
  [-r|--report {junit|json}]
@@ -231,9 +231,9 @@ Options:
231
231
  -f, --filter
232
232
  Only execute tests matching PATTERN
233
233
  Default: '*'
234
- -t, --trait [!]NAME[:VALUE]
235
- Only execute tests with the specified trait, optionally negated by prefixing with '!'.
236
- If VALUE is specified, only matches tests with the trait having specified value.
234
+ -t, --trait [!]NAME[=VALUE]
235
+ Execute tests with the specified trait, negated by prefixing with '!'.
236
+ If VALUE is specified, matches tests with the trait having specified value.
237
237
  If VALUE is not specified, matches any test with the trait having any value.
238
238
  Default: No filtering based on traits.
239
239
  -w, --working-directory DIRECTORY
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: punit
3
- Version: 1.1.1
3
+ Version: 1.1.2
4
4
  Summary: A modernized unit-test framework for Python.
5
5
  Author-email: Shaun Wilson <mrshaunwilson@msn.com>
6
6
  Project-URL: Documentation, https://punit.readthedocs.io/
@@ -63,11 +63,12 @@ Outputs:
63
63
  ```plaintext
64
64
  Usage: python3 -m punit [-h|--help]
65
65
  [-q|--quiet] [-v|--verbose]
66
- [-f|--failfast]
66
+ [-z|--failfast]
67
67
  [-p|--test-package NAME]
68
68
  [-i|--include PATTERN]
69
69
  [-e|--exclude PATTERN]
70
- [-t|--filter PATTERN]
70
+ [-f|--filter PATTERN]
71
+ [-t|--trait [!]NAME[=VALUE]]
71
72
  [-w|--workdir DIRECTORY]
72
73
  [-n|--no-default-patterns]
73
74
  [-r|--report {junit|json}]
@@ -77,7 +78,7 @@ Options:
77
78
  -h, --help Show this help text and exit
78
79
  -q, --quiet Quiet output
79
80
  -v, --verbose Verbose output
80
- -f, --failfast Stop on first failure or error
81
+ -z, --failfast Stop on first failure or error
81
82
  -p, --test-package NAME
82
83
  Use NAME as the test package, all tests should
83
84
  be locatable as modules in the named package.
@@ -88,9 +89,14 @@ Options:
88
89
  -e, --exclude PATTERN
89
90
  Exclude any tests matching PATTERN, overriding --include
90
91
  Default: '__*__' (dunder files), '/.*/' (dot-directories)
91
- -t, --filter PATTERN
92
+ -f, --filter PATTERN
92
93
  Only execute tests matching PATTERN
93
94
  Default: '*'
95
+ -t, --trait [!]NAME[=VALUE]
96
+ Execute tests with the specified trait, negated by prefixing with '!'.
97
+ If VALUE is specified, matches tests with the trait having specified value.
98
+ If VALUE is not specified, matches any test with the trait having any value.
99
+ Default: No filtering based on traits.
94
100
  -w, --working-directory DIRECTORY
95
101
  Working directory (defaults to start directory)
96
102
  -n, --no-default-patterns
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "punit"
3
- version = "1.1.1"
3
+ version = "1.1.2"
4
4
  description = "A modernized unit-test framework for Python."
5
5
  keywords = ["test", "unittest", "unit-test"]
6
6
  authors = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes