qa-and-test-runner
Operate LaVague QA and lavague-test workflows for Gherkin-to-pytest generation and benchmark/static-site configs.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- qa-and-test-runner
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate LaVague QA and lavague-test workflows for Gherkin-to-pytest generation and benchmark/static-site configs.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/data-formats.md5.1 KB
- 参考文档references/qa-cli-reference.md4.4 KB
- 参考文档references/test-runner-reference.md3.8 KB
- 参考文档references/troubleshooting.md6.5 KB
03 SKILL.md 正文
qa-and-test-runner
Use this sub-skill when the user wants to turn Gherkin feature files into pytest-bdd files with lavague-qa, or wants to validate/run LaVague benchmark-style site configs with lavague-test.
Route first
- For Gherkin-to-pytest generation, read QA CLI reference and validate the feature file with scripts/lavague_qa_feature_probe.py before spending LLM/browser time.
- For benchmark or local-site config work, read test-runner reference and validate the YAML with scripts/lavague_tests_config_probe.py before launching a browser.
- For exact feature and site YAML shapes, operator/property vocabulary, and generated file naming, read data formats.
- For failures and cost/risk controls, read troubleshooting.
- For provider contexts, model credentials, custom
context/token_counterfiles, and optional model packages, route to contexts-and-retrievers. - For Selenium/Playwright browser binaries, headless behavior, driver sessions, iframes, and browser installation issues, route to browser-drivers.
Safe default workflow
- Do a file-only probe first. Do not run
lavague-qaorlavague-testuntil inputs validate and the user accepts browser, network, and model-provider use. - Prefer explicit inputs over package defaults:
lavague-qa --url <site-url> --feature <file.feature>lavague-test --directory <sites-dir> --site <site-name>
- Use a custom context file only when it defines both
contextandtoken_counter; otherwise route to context guidance. - Treat
--full-llm, live public websites, browser display, and database logging as opt-in because they can add token cost, network dependence, local browser state, or persistent files. - After generation, run generated pytest only when a browser, target site, and provider credentials are available and permitted.
Expected observations
lavague-qacreatesgenerated_tests/<feature-stem>.featureandgenerated_tests/<feature-stem>.py; with--full-llm, the Python file stem ends in_llm.lavague-testprints per-task success/failure lines and a final success percentage; its process exit is successful only when every expectation passes.- Both workflows ultimately use Selenium-backed LaVague agents, so live execution requires browser support and model-provider access even when static probes pass.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.