testzeus-hercules
Hercules is the world’s first open-source testing agent, enabling UI, API, Security, Accessibility, and Visual validations – all without code or maintenance. Au
What is testzeus-hercules?
Hercules is the world’s first open-source testing agent, enabling UI, API, Security, Accessibility, and Visual validations – all without code or maintenance. Automate testing effortlessly and let Hercules handle the heavy lifting! ⚡
Overview of testzeus-hercules
What it is
Hercules is an open-source testing agent that automates end-to-end testing of web applications. It accepts Gherkin feature files as input and executes tests without requiring the user to write code. The project is hosted on GitHub under the AGPL-3.0 license.
Key features
- Supports UI, API, Security, Accessibility, and Visual validations.
- Tests are written in natural English using Gherkin syntax; no coding skills needed.
- Includes a Python sandbox for executing custom scripts within Gherkin tests, with full Playwright API access.
- Provides multi-tenant security modes (executor, data, API, restricted).
- Generates JUnit XML results and HTML reports after test runs.
- Supports multiple browsers (Chromium, Firefox, WebKit) and headless mode.
- Allows per-agent model routing via an optional
agents_llm_config.jsonfile.
Use cases
Hercules is designed for teams that need to automate testing of complex enterprise web platforms, integrate tests into CI/CD pipelines, or perform multilingual content testing. It can also be used for security testing, visual snapshot validation, and running custom automation workflows through the Python sandbox.
Getting started
Install Hercules from PyPI and install Playwright with its dependencies:pip install testzeus-herculesplaywright install --with-depsThen run Hercules with a Gherkin feature file:testzeus-hercules --input-file test.feature --output-path ./outputFor full details on project structure and parameters, see the repository README.
License and pricing
Hercules is licensed under AGPL-3.0 and is open source. Pricing is not stated.
這是什麼
Hercules 是一個開源測試代理工具,能自動化執行網頁應用程式的端到端測試。它接受 Gherkin 功能檔案作為輸入,無需撰寫程式碼即可執行測試。此專案託管於 GitHub,採用 AGPL-3.0 授權。
主要功能
- 支援 UI、API、安全性、無障礙與視覺驗證。
- 使用自然英文的 Gherkin 語法撰寫測試,無需程式設計技能。
- 內建 Python 沙箱,可在 Gherkin 測試中執行自訂腳本,並完整存取 Playwright API。
- 提供多租戶安全模式(執行器、資料、API、限制模式)。
- 測試執行後產生 JUnit XML 結果與 HTML 報告。
- 支援多種瀏覽器(Chromium、Firefox、WebKit)與無頭模式。
- 可透過選用的
agents_llm_config.json檔案進行每個代理的模型路由設定。
使用情境
Hercules 適用於需要自動化測試複雜企業網頁平台的團隊、將測試整合至 CI/CD 管線,或進行多語言內容測試。也可用於安全性測試、視覺快照驗證,以及透過 Python 沙箱執行自訂自動化工作流程。
快速開始
從 PyPI 安裝 Hercules,並安裝 Playwright 及其相依套件:pip install testzeus-herculesplaywright install --with-deps然後使用 Gherkin 功能檔案執行 Hercules:testzeus-hercules --input-file test.feature --output-path ./output關於專案結構與參數的完整說明,請參閱儲存庫的 README。
授權與價格
Hercules 採用 AGPL-3.0 授權,為開源軟體。價格未說明。
Based on the project's public README and repository metadata.