pytest-everyfunc 0.1.1__tar.gz → 0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-everyfunc
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A pytest plugin to detect completely untested functions using coverage
5
5
  Author-email: Johannes Buchner <johannes.buchner.acad@gmx.com>
6
6
  License-Expression: BSD-2-Clause
@@ -12,6 +12,7 @@ Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Topic :: Software Development :: Testing
14
14
  Classifier: Programming Language :: Python :: 3
15
+ Classifier: Framework :: Pytest
15
16
  Description-Content-Type: text/x-rst
16
17
  Requires-Dist: pytest
17
18
  Requires-Dist: coverage
@@ -32,12 +33,14 @@ Installation
32
33
  ------------
33
34
 
34
35
  ::
36
+
35
37
  $ pip install pytest-everyfunc
36
38
 
37
39
  Usage
38
40
  -----
39
41
 
40
- ::
42
+ ::
43
+
41
44
  $ pytest --cov=mypackage --fail-on-untested
42
45
  ...
43
46
  tests/test_script.py ........ [100%]
@@ -52,10 +55,11 @@ The output shows the functions that were not called.
52
55
  If --fail-on-untested is set, then the exit code is 32 (regardless whether tests succeed).
53
56
 
54
57
  ::
58
+
55
59
  $ echo $?
56
60
  32
57
61
 
58
62
  git hook
59
63
  --------
60
64
 
61
- add to .git/hooks/pre-commit the command above.
65
+ add to .git/hooks/pre-commit the pytest command above.
@@ -13,12 +13,14 @@ Installation
13
13
  ------------
14
14
 
15
15
  ::
16
+
16
17
  $ pip install pytest-everyfunc
17
18
 
18
19
  Usage
19
20
  -----
20
21
 
21
- ::
22
+ ::
23
+
22
24
  $ pytest --cov=mypackage --fail-on-untested
23
25
  ...
24
26
  tests/test_script.py ........ [100%]
@@ -33,10 +35,11 @@ The output shows the functions that were not called.
33
35
  If --fail-on-untested is set, then the exit code is 32 (regardless whether tests succeed).
34
36
 
35
37
  ::
38
+
36
39
  $ echo $?
37
40
  32
38
41
 
39
42
  git hook
40
43
  --------
41
44
 
42
- add to .git/hooks/pre-commit the command above.
45
+ add to .git/hooks/pre-commit the pytest command above.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pytest-everyfunc"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "A pytest plugin to detect completely untested functions using coverage"
9
9
  authors = [{name = "Johannes Buchner", email = "johannes.buchner.acad@gmx.com"}]
10
10
  dependencies = ["pytest", "coverage", "pytest-cov"]
@@ -16,6 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  "Topic :: Software Development :: Testing",
18
18
  "Programming Language :: Python :: 3",
19
+ "Framework :: Pytest"
19
20
  ]
20
21
  [project.urls]
21
22
  Homepage = "https://github.com/JohannesBuchner/pytest-everyfunc"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-everyfunc
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: A pytest plugin to detect completely untested functions using coverage
5
5
  Author-email: Johannes Buchner <johannes.buchner.acad@gmx.com>
6
6
  License-Expression: BSD-2-Clause
@@ -12,6 +12,7 @@ Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Topic :: Software Development :: Testing
14
14
  Classifier: Programming Language :: Python :: 3
15
+ Classifier: Framework :: Pytest
15
16
  Description-Content-Type: text/x-rst
16
17
  Requires-Dist: pytest
17
18
  Requires-Dist: coverage
@@ -32,12 +33,14 @@ Installation
32
33
  ------------
33
34
 
34
35
  ::
36
+
35
37
  $ pip install pytest-everyfunc
36
38
 
37
39
  Usage
38
40
  -----
39
41
 
40
- ::
42
+ ::
43
+
41
44
  $ pytest --cov=mypackage --fail-on-untested
42
45
  ...
43
46
  tests/test_script.py ........ [100%]
@@ -52,10 +55,11 @@ The output shows the functions that were not called.
52
55
  If --fail-on-untested is set, then the exit code is 32 (regardless whether tests succeed).
53
56
 
54
57
  ::
58
+
55
59
  $ echo $?
56
60
  32
57
61
 
58
62
  git hook
59
63
  --------
60
64
 
61
- add to .git/hooks/pre-commit the command above.
65
+ add to .git/hooks/pre-commit the pytest command above.