vistest 0.2.0a1__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.
- vistest-0.2.0a1/CONTRIBUTORS.md +40 -0
- vistest-0.2.0a1/LICENSE +202 -0
- vistest-0.2.0a1/MANIFEST.in +21 -0
- vistest-0.2.0a1/NOTICE +57 -0
- vistest-0.2.0a1/PKG-INFO +407 -0
- vistest-0.2.0a1/README.md +364 -0
- vistest-0.2.0a1/README.ru.md +311 -0
- vistest-0.2.0a1/examples/demo_page.html +95 -0
- vistest-0.2.0a1/examples/test_library.py +67 -0
- vistest-0.2.0a1/examples/vistest.yaml +71 -0
- vistest-0.2.0a1/pyproject.toml +128 -0
- vistest-0.2.0a1/scripts/audit_dist.py +240 -0
- vistest-0.2.0a1/scripts/check_install.py +337 -0
- vistest-0.2.0a1/setup.cfg +4 -0
- vistest-0.2.0a1/tests/__init__.py +8 -0
- vistest-0.2.0a1/tests/_no_server.py +63 -0
- vistest-0.2.0a1/tests/baselines.py +168 -0
- vistest-0.2.0a1/tests/benchmark.py +943 -0
- vistest-0.2.0a1/tests/benchmark_browser.py +759 -0
- vistest-0.2.0a1/tests/benchmark_live.py +118 -0
- vistest-0.2.0a1/tests/capture_hazards/__init__.py +8 -0
- vistest-0.2.0a1/tests/capture_hazards/conftest.py +27 -0
- vistest-0.2.0a1/tests/capture_hazards/gaps.py +196 -0
- vistest-0.2.0a1/tests/capture_hazards/measure.py +604 -0
- vistest-0.2.0a1/tests/capture_hazards/server.py +150 -0
- vistest-0.2.0a1/tests/capture_hazards/stand.py +200 -0
- vistest-0.2.0a1/tests/capture_hazards/test_oracle.py +150 -0
- vistest-0.2.0a1/tests/capture_hazards/test_signals.py +97 -0
- vistest-0.2.0a1/tests/conftest.py +17 -0
- vistest-0.2.0a1/tests/corpus.py +754 -0
- vistest-0.2.0a1/tests/open_paths.py +89 -0
- vistest-0.2.0a1/tests/synthetic.py +448 -0
- vistest-0.2.0a1/tests/test_antialias_refit.py +420 -0
- vistest-0.2.0a1/tests/test_backend_debts_library.py +45 -0
- vistest-0.2.0a1/tests/test_bench.py +380 -0
- vistest-0.2.0a1/tests/test_benchmark.py +335 -0
- vistest-0.2.0a1/tests/test_benchmark_argos.py +121 -0
- vistest-0.2.0a1/tests/test_benchmark_browser.py +312 -0
- vistest-0.2.0a1/tests/test_browser_corpus.py +857 -0
- vistest-0.2.0a1/tests/test_capture_dev2.py +222 -0
- vistest-0.2.0a1/tests/test_capture_dev2_branches.py +230 -0
- vistest-0.2.0a1/tests/test_capture_ready.py +505 -0
- vistest-0.2.0a1/tests/test_cli_check_review_b.py +116 -0
- vistest-0.2.0a1/tests/test_cli_groups_review_b.py +97 -0
- vistest-0.2.0a1/tests/test_cli_review_a.py +126 -0
- vistest-0.2.0a1/tests/test_compare_fast.py +194 -0
- vistest-0.2.0a1/tests/test_console_review_c.py +95 -0
- vistest-0.2.0a1/tests/test_core_standalone.py +171 -0
- vistest-0.2.0a1/tests/test_corpus_frozen.py +373 -0
- vistest-0.2.0a1/tests/test_degradation_library.py +331 -0
- vistest-0.2.0a1/tests/test_dist_audit.py +155 -0
- vistest-0.2.0a1/tests/test_docs_review_d.py +339 -0
- vistest-0.2.0a1/tests/test_docs_sides.py +249 -0
- vistest-0.2.0a1/tests/test_doctor.py +199 -0
- vistest-0.2.0a1/tests/test_engine.py +342 -0
- vistest-0.2.0a1/tests/test_engine_choice.py +389 -0
- vistest-0.2.0a1/tests/test_engine_missing_library.py +83 -0
- vistest-0.2.0a1/tests/test_engine_v2.py +307 -0
- vistest-0.2.0a1/tests/test_engine_v2_describe.py +226 -0
- vistest-0.2.0a1/tests/test_engine_v2_environment.py +183 -0
- vistest-0.2.0a1/tests/test_engine_v2_pageshift.py +470 -0
- vistest-0.2.0a1/tests/test_engine_v2_rerender.py +476 -0
- vistest-0.2.0a1/tests/test_engine_v2_speed.py +120 -0
- vistest-0.2.0a1/tests/test_english_cli_review_b.py +67 -0
- vistest-0.2.0a1/tests/test_example_library.py +108 -0
- vistest-0.2.0a1/tests/test_gate_library.py +38 -0
- vistest-0.2.0a1/tests/test_i18n_ratchet.py +91 -0
- vistest-0.2.0a1/tests/test_integration_layer_library.py +354 -0
- vistest-0.2.0a1/tests/test_lazy_exports.py +138 -0
- vistest-0.2.0a1/tests/test_library_allure.py +114 -0
- vistest-0.2.0a1/tests/test_library_api.py +535 -0
- vistest-0.2.0a1/tests/test_library_atomic.py +134 -0
- vistest-0.2.0a1/tests/test_library_call_review_b.py +216 -0
- vistest-0.2.0a1/tests/test_library_capture.py +683 -0
- vistest-0.2.0a1/tests/test_library_config_review_a.py +124 -0
- vistest-0.2.0a1/tests/test_library_deadline.py +245 -0
- vistest-0.2.0a1/tests/test_library_install.py +169 -0
- vistest-0.2.0a1/tests/test_library_mode.py +555 -0
- vistest-0.2.0a1/tests/test_library_output.py +165 -0
- vistest-0.2.0a1/tests/test_library_page_facts.py +560 -0
- vistest-0.2.0a1/tests/test_library_renderer.py +595 -0
- vistest-0.2.0a1/tests/test_library_targets_names.py +219 -0
- vistest-0.2.0a1/tests/test_library_update.py +270 -0
- vistest-0.2.0a1/tests/test_license.py +102 -0
- vistest-0.2.0a1/tests/test_live_corpus.py +185 -0
- vistest-0.2.0a1/tests/test_margins.py +259 -0
- vistest-0.2.0a1/tests/test_matrix.py +211 -0
- vistest-0.2.0a1/tests/test_metrics_honesty.py +361 -0
- vistest-0.2.0a1/tests/test_naming.py +432 -0
- vistest-0.2.0a1/tests/test_noise_explain.py +261 -0
- vistest-0.2.0a1/tests/test_open_half.py +285 -0
- vistest-0.2.0a1/tests/test_package_metadata.py +55 -0
- vistest-0.2.0a1/tests/test_plugin_split_review_b.py +68 -0
- vistest-0.2.0a1/tests/test_plugins.py +647 -0
- vistest-0.2.0a1/tests/test_public_surface.py +107 -0
- vistest-0.2.0a1/tests/test_removed_v1_and_presets.py +127 -0
- vistest-0.2.0a1/tests/test_renderer_check.py +79 -0
- vistest-0.2.0a1/tests/test_settings_review_b.py +222 -0
- vistest-0.2.0a1/tests/test_split_boundary.py +133 -0
- vistest-0.2.0a1/tests/test_tests_boundary.py +113 -0
- vistest-0.2.0a1/tests/test_transfer_library.py +38 -0
- vistest-0.2.0a1/tests/test_unread_and_timeout_review_c.py +94 -0
- vistest-0.2.0a1/tests/test_verdict_area.py +136 -0
- vistest-0.2.0a1/tests/test_warp.py +224 -0
- vistest-0.2.0a1/tests/test_where_it_runs_review_c.py +107 -0
- vistest-0.2.0a1/tests/test_words_review_c.py +412 -0
- vistest-0.2.0a1/tests/test_zones.py +185 -0
- vistest-0.2.0a1/vistest/__init__.py +133 -0
- vistest-0.2.0a1/vistest/_extras.py +25 -0
- vistest-0.2.0a1/vistest/_term.py +66 -0
- vistest-0.2.0a1/vistest/ai/__init__.py +12 -0
- vistest-0.2.0a1/vistest/ai/attribution.py +175 -0
- vistest-0.2.0a1/vistest/ai/hooks.py +130 -0
- vistest-0.2.0a1/vistest/ai/pipeline.py +156 -0
- vistest-0.2.0a1/vistest/bench/__init__.py +426 -0
- vistest-0.2.0a1/vistest/bench/layouts.py +318 -0
- vistest-0.2.0a1/vistest/bench/playwright.py +110 -0
- vistest-0.2.0a1/vistest/bench/playwright_compare.mjs +129 -0
- vistest-0.2.0a1/vistest/capture/__init__.py +11 -0
- vistest-0.2.0a1/vistest/capture/dom.py +122 -0
- vistest-0.2.0a1/vistest/capture/inflight.py +263 -0
- vistest-0.2.0a1/vistest/capture/playwright_capture.py +92 -0
- vistest-0.2.0a1/vistest/capture/ready.py +523 -0
- vistest-0.2.0a1/vistest/capture/stabilize.py +294 -0
- vistest-0.2.0a1/vistest/cli.py +587 -0
- vistest-0.2.0a1/vistest/config.py +496 -0
- vistest-0.2.0a1/vistest/core/__init__.py +52 -0
- vistest-0.2.0a1/vistest/core/align.py +244 -0
- vistest-0.2.0a1/vistest/core/antialias.py +74 -0
- vistest-0.2.0a1/vistest/core/classify.py +259 -0
- vistest-0.2.0a1/vistest/core/color.py +224 -0
- vistest-0.2.0a1/vistest/core/comparator.py +496 -0
- vistest-0.2.0a1/vistest/core/engines.py +120 -0
- vistest-0.2.0a1/vistest/core/explain.py +726 -0
- vistest-0.2.0a1/vistest/core/naming.py +313 -0
- vistest-0.2.0a1/vistest/core/noise.py +125 -0
- vistest-0.2.0a1/vistest/core/pngio.py +151 -0
- vistest-0.2.0a1/vistest/core/recolour.py +98 -0
- vistest-0.2.0a1/vistest/core/refit.py +337 -0
- vistest-0.2.0a1/vistest/core/regions.py +276 -0
- vistest-0.2.0a1/vistest/core/renderer.py +105 -0
- vistest-0.2.0a1/vistest/core/retry.py +237 -0
- vistest-0.2.0a1/vistest/core/segment.py +132 -0
- vistest-0.2.0a1/vistest/core/settings.py +570 -0
- vistest-0.2.0a1/vistest/core/structure.py +80 -0
- vistest-0.2.0a1/vistest/core/thresholds.py +273 -0
- vistest-0.2.0a1/vistest/core/v2/__init__.py +65 -0
- vistest-0.2.0a1/vistest/core/v2/base.py +104 -0
- vistest-0.2.0a1/vistest/core/v2/describe.py +198 -0
- vistest-0.2.0a1/vistest/core/v2/engine.py +506 -0
- vistest-0.2.0a1/vistest/core/v2/pageshift.py +392 -0
- vistest-0.2.0a1/vistest/core/v2/rerender.py +686 -0
- vistest-0.2.0a1/vistest/core/v2/settings.py +314 -0
- vistest-0.2.0a1/vistest/core/warp.py +187 -0
- vistest-0.2.0a1/vistest/doctor.py +593 -0
- vistest-0.2.0a1/vistest/integrations/__init__.py +20 -0
- vistest-0.2.0a1/vistest/integrations/driver.py +642 -0
- vistest-0.2.0a1/vistest/library/__init__.py +1116 -0
- vistest-0.2.0a1/vistest/library/canary.py +153 -0
- vistest-0.2.0a1/vistest/library/context.py +386 -0
- vistest-0.2.0a1/vistest/library/errors.py +229 -0
- vistest-0.2.0a1/vistest/library/fingerprint.py +277 -0
- vistest-0.2.0a1/vistest/library/fonts/LICENSE +51 -0
- vistest-0.2.0a1/vistest/library/fonts/canary-sans.ttf +0 -0
- vistest-0.2.0a1/vistest/library/js.py +274 -0
- vistest-0.2.0a1/vistest/library/page_facts.py +334 -0
- vistest-0.2.0a1/vistest/library/targets.py +954 -0
- vistest-0.2.0a1/vistest/library/words.py +463 -0
- vistest-0.2.0a1/vistest/matrix.py +406 -0
- vistest-0.2.0a1/vistest/models.py +302 -0
- vistest-0.2.0a1/vistest/plugins/__init__.py +47 -0
- vistest-0.2.0a1/vistest/plugins/api.py +311 -0
- vistest-0.2.0a1/vistest/plugins/loader.py +238 -0
- vistest-0.2.0a1/vistest/plugins/registry.py +285 -0
- vistest-0.2.0a1/vistest/plugins/runtime.py +416 -0
- vistest-0.2.0a1/vistest/provenance.py +88 -0
- vistest-0.2.0a1/vistest/pytest_plugin.py +496 -0
- vistest-0.2.0a1/vistest/render/__init__.py +11 -0
- vistest-0.2.0a1/vistest/render/artifacts.py +327 -0
- vistest-0.2.0a1/vistest/render/palette.py +76 -0
- vistest-0.2.0a1/vistest/report/__init__.py +17 -0
- vistest-0.2.0a1/vistest/report/html.py +378 -0
- vistest-0.2.0a1/vistest/report/library.py +699 -0
- vistest-0.2.0a1/vistest/scenario.py +369 -0
- vistest-0.2.0a1/vistest/storage/__init__.py +63 -0
- vistest-0.2.0a1/vistest/storage/atomic.py +128 -0
- vistest-0.2.0a1/vistest/storage/base.py +442 -0
- vistest-0.2.0a1/vistest/storage/file.py +241 -0
- vistest-0.2.0a1/vistest/storage/fs.py +453 -0
- vistest-0.2.0a1/vistest/storage/paths.py +86 -0
- vistest-0.2.0a1/vistest/transfer.py +625 -0
- vistest-0.2.0a1/vistest/zones.py +32 -0
- vistest-0.2.0a1/vistest.egg-info/PKG-INFO +407 -0
- vistest-0.2.0a1/vistest.egg-info/SOURCES.txt +196 -0
- vistest-0.2.0a1/vistest.egg-info/dependency_links.txt +1 -0
- vistest-0.2.0a1/vistest.egg-info/entry_points.txt +5 -0
- vistest-0.2.0a1/vistest.egg-info/requires.txt +18 -0
- vistest-0.2.0a1/vistest.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Contributors
|
|
2
|
+
|
|
3
|
+
VisTest was designed and written by:
|
|
4
|
+
|
|
5
|
+
- **Kirill Kulagin** — original author, engine, service, UI, everything through
|
|
6
|
+
the first public release.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Contributing
|
|
11
|
+
|
|
12
|
+
Contributions are welcome. A few things to know before you open a pull request.
|
|
13
|
+
|
|
14
|
+
### Licensing of contributions
|
|
15
|
+
|
|
16
|
+
VisTest is licensed under Apache-2.0 (see [LICENSE](LICENSE)). As section 5 of
|
|
17
|
+
the license says, a contribution you submit is under the same license, with no
|
|
18
|
+
further terms.
|
|
19
|
+
|
|
20
|
+
By submitting a pull request you confirm that you wrote the contribution
|
|
21
|
+
yourself, or have the right to submit it under Apache-2.0.
|
|
22
|
+
|
|
23
|
+
### What makes a good pull request
|
|
24
|
+
|
|
25
|
+
- One change per pull request.
|
|
26
|
+
- The suite passes, in the environment the library's users have:
|
|
27
|
+
`pip install -e ".[browser,report,dev]"`, then `python -m pytest tests -n auto`.
|
|
28
|
+
The tests read nothing outside this repository's own files
|
|
29
|
+
(`tests/test_open_half.py` checks it).
|
|
30
|
+
- If you touched the comparison engine, run `python tests/benchmark.py --compare`
|
|
31
|
+
and include the before/after numbers. A change that improves detection but
|
|
32
|
+
raises the false-fail rate is not an improvement.
|
|
33
|
+
- New behaviour comes with a test. The synthetic corpus in `tests/` exists so
|
|
34
|
+
that "it looked right on my screenshots" is never the evidence.
|
|
35
|
+
- Keep `ruff` clean: `ruff check vistest/ tests/`
|
|
36
|
+
|
|
37
|
+
### Reporting security issues
|
|
38
|
+
|
|
39
|
+
Do not open a public issue for a vulnerability. Use the repository's private
|
|
40
|
+
security advisory feature instead; the maintainer will respond there.
|
vistest-0.2.0a1/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# What goes into the sdist on top of the `vistest` package.
|
|
2
|
+
#
|
|
3
|
+
# The examples and the tests live outside the package, so setuptools will not
|
|
4
|
+
# pick them up on its own. Nothing of the server's is here: it is a package of
|
|
5
|
+
# its own, with its own archives.
|
|
6
|
+
|
|
7
|
+
include README.md README.ru.md
|
|
8
|
+
include LICENSE NOTICE CONTRIBUTORS.md
|
|
9
|
+
# What checks a build before it is uploaded; tests/test_dist_audit.py needs the first.
|
|
10
|
+
include scripts/audit_dist.py scripts/check_install.py
|
|
11
|
+
|
|
12
|
+
recursive-include examples *
|
|
13
|
+
recursive-include tests *.py
|
|
14
|
+
|
|
15
|
+
# Never ship these
|
|
16
|
+
global-exclude __pycache__ *.py[cod] .DS_Store
|
|
17
|
+
prune .vistest
|
|
18
|
+
prune .venv
|
|
19
|
+
prune .idea
|
|
20
|
+
prune _private
|
|
21
|
+
prune tests/pages
|
vistest-0.2.0a1/NOTICE
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
VisTest
|
|
2
|
+
Copyright 2026 Kirill Kulagin
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
Versions released before the change to Apache-2.0 were published under
|
|
6
|
+
AGPL-3.0-or-later and remain available under that license as published.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-------------------------------------------------------------------------------
|
|
10
|
+
Trademark
|
|
11
|
+
-------------------------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
"VisTest" and the VisTest name are used by the copyright holder to identify
|
|
14
|
+
this project. As section 6 of the Apache License says, the license does not
|
|
15
|
+
grant permission to use them, except as needed to describe the origin of the
|
|
16
|
+
work and to reproduce this NOTICE file.
|
|
17
|
+
|
|
18
|
+
If you distribute a modified version, give it a different name and do not
|
|
19
|
+
present it as an official VisTest build. Referring to VisTest by name to say
|
|
20
|
+
where your fork comes from, to compare products, or to write about it is fine.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
-------------------------------------------------------------------------------
|
|
24
|
+
The server
|
|
25
|
+
-------------------------------------------------------------------------------
|
|
26
|
+
|
|
27
|
+
The VisTest server for teams (vistest-server) is a separate product under a
|
|
28
|
+
commercial license. It is not part of this repository and is not covered by
|
|
29
|
+
this NOTICE or by the Apache License.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
-------------------------------------------------------------------------------
|
|
33
|
+
Bundled third-party material
|
|
34
|
+
-------------------------------------------------------------------------------
|
|
35
|
+
|
|
36
|
+
vistest/library/fonts/canary-sans.ttf and the fonts in
|
|
37
|
+
tests/browser_corpus/templates/fonts/ are subsets of DejaVu 2.37 (Bitstream
|
|
38
|
+
Vera and Arev derivatives). Their license is in the LICENSE file next to them.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
-------------------------------------------------------------------------------
|
|
42
|
+
Dependencies
|
|
43
|
+
-------------------------------------------------------------------------------
|
|
44
|
+
|
|
45
|
+
VisTest depends on third-party packages that carry their own licenses and are
|
|
46
|
+
installed separately, not bundled:
|
|
47
|
+
|
|
48
|
+
numpy BSD-3-Clause
|
|
49
|
+
opencv-python-headless Apache-2.0 (OpenCV), MIT (packaging)
|
|
50
|
+
pillow MIT-CMU
|
|
51
|
+
pyyaml MIT
|
|
52
|
+
playwright Apache-2.0 (extra: browser)
|
|
53
|
+
pytest, pytest-playwright MIT (extra: browser)
|
|
54
|
+
allure-pytest Apache-2.0 (extra: report)
|
|
55
|
+
|
|
56
|
+
Their licenses apply to those components. docs/dev/dependencies.md has the
|
|
57
|
+
audited list with versions.
|