wexample-wex-addon-dev-javascript 0.0.46__tar.gz → 0.0.49__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 (11) hide show
  1. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/PKG-INFO +53 -4
  2. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/README.md +50 -1
  3. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/pyproject.toml +3 -3
  4. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/__init__.py +0 -0
  5. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/__pycache__/__init__.py +0 -0
  6. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/javascript_addon_manager.py +0 -0
  7. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/py.typed +0 -0
  8. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/workdir/__init__.py +0 -0
  9. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/workdir/javascript_package_workdir.py +0 -0
  10. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/workdir/javascript_packages_suite_workdir.py +0 -0
  11. {wexample_wex_addon_dev_javascript-0.0.46 → wexample_wex_addon_dev_javascript-0.0.49}/src/wexample_wex_addon_dev_javascript/workdir/javascript_workdir.py +0 -0
@@ -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,9 +1,58 @@
1
1
  # wexample-wex-addon-dev-javascript
2
2
 
3
- Version: 0.0.46
3
+ Version: 0.0.49
4
4
 
5
5
  Python dev addon for wex
6
6
 
7
+ ## Tests
8
+
9
+ This project uses `pytest` for testing and `pytest-cov` for code coverage analysis.
10
+
11
+ ### Installation
12
+
13
+ First, install the required testing dependencies:
14
+ ```bash
15
+ .venv/bin/python -m pip install pytest pytest-cov
16
+ ```
17
+
18
+ ### Basic Usage
19
+
20
+ Run all tests with coverage:
21
+ ```bash
22
+ .venv/bin/python -m pytest --cov
23
+ ```
24
+
25
+ ### Common Commands
26
+ ```bash
27
+ # Run tests with coverage for a specific module
28
+ .venv/bin/python -m pytest --cov=your_module
29
+
30
+ # Show which lines are not covered
31
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing
32
+
33
+ # Generate an HTML coverage report
34
+ .venv/bin/python -m pytest --cov=your_module --cov-report=html
35
+
36
+ # Combine terminal and HTML reports
37
+ .venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html
38
+
39
+ # Run specific test file with coverage
40
+ .venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing
41
+ ```
42
+
43
+ ### Viewing HTML Reports
44
+
45
+ After generating an HTML report, open `htmlcov/index.html` in your browser to view detailed line-by-line coverage information.
46
+
47
+ ### Coverage Threshold
48
+
49
+ To enforce a minimum coverage percentage:
50
+ ```bash
51
+ .venv/bin/python -m pytest --cov=your_module --cov-fail-under=80
52
+ ```
53
+
54
+ This will cause the test suite to fail if coverage drops below 80%.
55
+
7
56
  ## Code Quality & Typing
8
57
 
9
58
  All the suite packages follow strict quality standards:
@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
6
6
 
7
7
  [project]
8
8
  name = "wexample-wex-addon-dev-javascript"
9
- version = "0.0.46"
9
+ version = "0.0.49"
10
10
  description = "Python dev addon for wex"
11
11
  authors = [
12
12
  { name = "weeger", email = "contact@wexample.com" },
@@ -20,8 +20,8 @@ classifiers = [
20
20
  dependencies = [
21
21
  "attrs>=23.1.0",
22
22
  "cattrs>=23.1.0",
23
- "wexample-wex-addon-app==0.0.47",
24
- "wexample-wex-core==6.0.49",
23
+ "wexample-wex-addon-app==0.0.49",
24
+ "wexample-wex-core==6.0.55",
25
25
  ]
26
26
 
27
27
  [project.readme]