pytest-qasight 1.0.0__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.
@@ -0,0 +1,86 @@
1
+ __pycache__/
2
+ *.pyc
3
+ .DS_Store
4
+ .venv/
5
+ venv/
6
+
7
+ # Local secrets (copy from .env.example)
8
+ .env
9
+
10
+ # Default local SQLite DB when DATABASE_URL is unset (qasight/repository/db_config.py)
11
+ uqo_history.db
12
+ testo_history.db
13
+
14
+ # Generated sandbox DB from the test suite (tests/artifacts/)
15
+ tests/artifacts/*.db
16
+
17
+ # Cursor IDE local state (debug logs, plans, rules, etc.)
18
+ .cursor/
19
+
20
+ # Local e2e test scratch (cleanup ledgers, etc.)
21
+ .artifacts/
22
+
23
+ # Built Python distribution artifacts
24
+ # The UI copied into the wheel by scripts/build_ui_bundle.sh
25
+ qasight_api/ui_dist/
26
+ dist/
27
+ build/
28
+ *.egg-info/
29
+
30
+ # Local release-gate run logs
31
+ artifacts/release-gate-*/
32
+
33
+ # Generated report HTML (static/history/ is served by the API for each run's Report Links)
34
+ static/
35
+
36
+ # Run data of an installed package run from this directory (qasight/paths.py)
37
+ .testo/
38
+
39
+ # Persisted run history (SQLite + per-run HTML snapshots)
40
+ artifacts/uqo_run_history.sqlite
41
+ artifacts/testo_sandbox.db
42
+ artifacts/history/
43
+
44
+ # AI settings saved by the API (never contains the key)
45
+ artifacts/ai_settings.json
46
+
47
+ # Local/generated artifacts
48
+ .coverage
49
+ coverage.xml
50
+ artifacts/allure-report/
51
+ artifacts/allure-results/
52
+ artifacts/allure-results-archive/
53
+ artifacts/allure-report.zip
54
+ artifacts/metrics.json
55
+
56
+ # Runtime logs
57
+ logs/
58
+
59
+ # Frontend workspace artifacts
60
+ frontend/node_modules/
61
+ frontend/dist/
62
+ frontend/*.tsbuildinfo
63
+
64
+ # Root Node tooling (Allure CLI, commitlint)
65
+ node_modules/
66
+
67
+ # Local sample-cycle run output (qasight run --cycle sample-*)
68
+ artifacts/sample-behave/
69
+ artifacts/sample-pytests/
70
+ artifacts/sample-all-frameworks/
71
+ artifacts/self-test/
72
+ artifacts/fake-api/
73
+ .testo/
74
+
75
+ # Local test-suite scratch DBs
76
+ tests/artifacts/
77
+
78
+ # Local ReportPortal Postgres data volume
79
+ data/
80
+
81
+
82
+ # GitLab Pages demo output (scripts/export_static_site.py + the Pages job)
83
+ /public/
84
+ /.ci-history/
85
+ /.demo/
86
+ site/
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.5
2
+ Name: pytest-qasight
3
+ Version: 1.0.0
4
+ Summary: pytest --qasight: record every pytest run and see what broke, what's flaky and what got slower (installs qasight).
5
+ Project-URL: Homepage, https://github.com/arieleven/qasight
6
+ Project-URL: Documentation, https://arieleven.github.io/qasight/docs/cli-commands/command-reference/#pytest-qasight
7
+ Project-URL: Source, https://github.com/arieleven/qasight/tree/main/integrations/pytest-qasight
8
+ Project-URL: Issues, https://github.com/arieleven/qasight/issues
9
+ Author: Taltal
10
+ License-Expression: MIT
11
+ Keywords: flaky-tests,junit,pytest,test-history,test-reporting
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Framework :: Pytest
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Topic :: Software Development :: Quality Assurance
19
+ Classifier: Topic :: Software Development :: Testing
20
+ Requires-Python: >=3.11
21
+ Requires-Dist: pytest>=7
22
+ Requires-Dist: qasight>=1.6.0
23
+ Description-Content-Type: text/markdown
24
+
25
+ # pytest-qasight
26
+
27
+ Record every pytest run and see **what broke, what's flaky and what got slower** since the last one.
28
+
29
+ ```bash
30
+ pip install pytest-qasight
31
+ pytest --qasight # records this run in the local history (SQLite)
32
+ qasight flaky --cycle my-project # the cycle defaults to the project folder's name
33
+ pip install 'qasight[api]' && qasight ui # the web UI on that history
34
+ ```
35
+
36
+ This package installs [qasight](https://pypi.org/project/qasight/) (QASight), which
37
+ provides the pytest plugin. Installing `qasight` directly gives you exactly the same thing; this
38
+ name exists so the plugin shows up next to the other `pytest-*` plugins.
39
+
40
+ `pytest --qasight-affected` runs only the tests a change can affect, and `pytest --qasight-shard 1/4`
41
+ splits the suite by recorded test time. All options:
42
+ [pytest --qasight](https://arieleven.github.io/qasight/docs/cli-commands/command-reference/#pytest-qasight).
43
+
44
+ No install at all: drop a JUnit XML file on <https://arieleven.github.io/qasight/try>.
45
+
46
+ Source, issues and docs: <https://github.com/arieleven/qasight>. MIT licensed.
@@ -0,0 +1,22 @@
1
+ # pytest-qasight
2
+
3
+ Record every pytest run and see **what broke, what's flaky and what got slower** since the last one.
4
+
5
+ ```bash
6
+ pip install pytest-qasight
7
+ pytest --qasight # records this run in the local history (SQLite)
8
+ qasight flaky --cycle my-project # the cycle defaults to the project folder's name
9
+ pip install 'qasight[api]' && qasight ui # the web UI on that history
10
+ ```
11
+
12
+ This package installs [qasight](https://pypi.org/project/qasight/) (QASight), which
13
+ provides the pytest plugin. Installing `qasight` directly gives you exactly the same thing; this
14
+ name exists so the plugin shows up next to the other `pytest-*` plugins.
15
+
16
+ `pytest --qasight-affected` runs only the tests a change can affect, and `pytest --qasight-shard 1/4`
17
+ splits the suite by recorded test time. All options:
18
+ [pytest --qasight](https://arieleven.github.io/qasight/docs/cli-commands/command-reference/#pytest-qasight).
19
+
20
+ No install at all: drop a JUnit XML file on <https://arieleven.github.io/qasight/try>.
21
+
22
+ Source, issues and docs: <https://github.com/arieleven/qasight>. MIT licensed.
@@ -0,0 +1,39 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27.0"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "pytest-qasight"
7
+ version = "1.0.0"
8
+ description = "pytest --qasight: record every pytest run and see what broke, what's flaky and what got slower (installs qasight)."
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = "MIT"
12
+ authors = [{ name = "Taltal" }]
13
+ keywords = ["pytest", "flaky-tests", "test-history", "test-reporting", "junit"]
14
+ # The plugin itself ships in qasight (entry point pytest11 "qasight"), so this
15
+ # package registers no entry point of its own: registering the same module twice
16
+ # would make pytest refuse to start.
17
+ dependencies = [
18
+ "pytest>=7",
19
+ "qasight>=1.6.0",
20
+ ]
21
+ classifiers = [
22
+ "Development Status :: 5 - Production/Stable",
23
+ "Framework :: Pytest",
24
+ "Intended Audience :: Developers",
25
+ "Operating System :: OS Independent",
26
+ "Programming Language :: Python :: 3",
27
+ "Programming Language :: Python :: 3 :: Only",
28
+ "Topic :: Software Development :: Quality Assurance",
29
+ "Topic :: Software Development :: Testing",
30
+ ]
31
+
32
+ [project.urls]
33
+ Homepage = "https://github.com/arieleven/qasight"
34
+ Documentation = "https://arieleven.github.io/qasight/docs/cli-commands/command-reference/#pytest-qasight"
35
+ Source = "https://github.com/arieleven/qasight/tree/main/integrations/pytest-qasight"
36
+ Issues = "https://github.com/arieleven/qasight/issues"
37
+
38
+ [tool.hatch.build.targets.wheel]
39
+ packages = ["pytest_qasight"]
@@ -0,0 +1,8 @@
1
+ """pytest-qasight: installs qasight, whose pytest plugin adds ``pytest --qasight``.
2
+
3
+ The plugin code lives in ``qasight.pytest_plugin`` and is registered by
4
+ qasight itself; this package only makes it findable under a ``pytest-*``
5
+ name. See https://github.com/arieleven/qasight.
6
+ """
7
+
8
+ __version__ = "1.0.0"