wexample-wex-addon-dev-javascript 0.0.46__py3-none-any.whl → 0.0.49__py3-none-any.whl

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.1
2
2
  Name: wexample-wex-addon-dev-javascript
3
- Version: 0.0.46
3
+ Version: 0.0.49
4
4
  Summary: Python dev addon for wex
5
5
  Author-Email: weeger <contact@wexample.com>
6
6
  License: MIT
@@ -11,8 +11,8 @@ Project-URL: homepage, https://github.com/wexample/python-wex-dev-python
11
11
  Requires-Python: >=3.10
12
12
  Requires-Dist: attrs>=23.1.0
13
13
  Requires-Dist: cattrs>=23.1.0
14
- Requires-Dist: wexample-wex-addon-app==0.0.47
15
- Requires-Dist: wexample-wex-core==6.0.49
14
+ Requires-Dist: wexample-wex-addon-app==0.0.49
15
+ Requires-Dist: wexample-wex-core==6.0.55
16
16
  Provides-Extra: dev
17
17
  Requires-Dist: pytest; extra == "dev"
18
18
  Requires-Dist: pytest-cov; extra == "dev"
@@ -20,10 +20,59 @@ Description-Content-Type: text/markdown
20
20
 
21
21
  # wexample-wex-addon-dev-javascript
22
22
 
23
- Version: 0.0.46
23
+ Version: 0.0.49
24
24
 
25
25
  Python dev addon for wex
26
26
 
27
+ ## Tests
28
+
29
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
30
+
31
+ ### Installation
32
+
33
+ First, install the required testing dependencies:
34
+ ```bash
35
+ .venv/bin/python -m pip install pytest pytest-cov
36
+ ```
37
+
38
+ ### Basic Usage
39
+
40
+ Run all tests with coverage:
41
+ ```bash
42
+ .venv/bin/python -m pytest --cov
43
+ ```
44
+
45
+ ### Common Commands
46
+ ```bash
47
+ # Run tests with coverage for a specific module
48
+ .venv/bin/python -m pytest --cov=your_module
49
+
50
+ # Show which lines are not covered
51
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
52
+
53
+ # Generate an HTML coverage report
54
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
55
+
56
+ # Combine terminal and HTML reports
57
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
58
+
59
+ # Run specific test file with coverage
60
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
61
+ ```
62
+
63
+ ### Viewing HTML Reports
64
+
65
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
66
+
67
+ ### Coverage Threshold
68
+
69
+ To enforce a minimum coverage percentage:
70
+ ```bash
71
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
72
+ ```
73
+
74
+ This will cause the test suite to fail if coverage drops below 80%.
75
+
27
76
  ## Code Quality & Typing
28
77
 
29
78
  All the suite packages follow strict quality standards:
@@ -1,6 +1,6 @@
1
- wexample_wex_addon_dev_javascript-0.0.46.dist-info/METADATA,sha256=p3yjZZz14KrHCiuXk2SYrbKP3c0kT27sFQ1_c-Cyle0,5144
2
- wexample_wex_addon_dev_javascript-0.0.46.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
- wexample_wex_addon_dev_javascript-0.0.46.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ wexample_wex_addon_dev_javascript-0.0.49.dist-info/METADATA,sha256=8ZdnJ6j4pW2Z1abpjjHQLEt1O4BT1auIihckbyOBSOA,6417
2
+ wexample_wex_addon_dev_javascript-0.0.49.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
3
+ wexample_wex_addon_dev_javascript-0.0.49.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
4
  wexample_wex_addon_dev_javascript/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  wexample_wex_addon_dev_javascript/__pycache__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  wexample_wex_addon_dev_javascript/javascript_addon_manager.py,sha256=Sjr0CEtNtF3211j1lMtg-pw56zd6unCGNIY7nScddpI,180
@@ -9,4 +9,4 @@ wexample_wex_addon_dev_javascript/workdir/__init__.py,sha256=47DEQpj8HBSa-_TImW-
9
9
  wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py,sha256=AdUZ_d_sfqyRTmyG2YGloIbcIybmeYekwa0OaxVFT0w,466
10
10
  wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py,sha256=l9zHC5-1v8yPBdZGS7Ibxp3iklI-czXkRuPxALbz4Gk,855
11
11
  wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py,sha256=tlktZ9-gd3Q_Pfsp1QC493XZmw2Kpcatnu8EZIAOdbk,258
12
- wexample_wex_addon_dev_javascript-0.0.46.dist-info/RECORD,,
12
+ wexample_wex_addon_dev_javascript-0.0.49.dist-info/RECORD,,