endorphin-ai 0.7.4 → 0.9.0
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.
- package/README.md +215 -33
- package/dist/bin/cli-handlers.d.ts +3 -9
- package/dist/bin/cli-handlers.d.ts.map +1 -1
- package/dist/bin/cli-handlers.js +41 -38
- package/dist/bin/cli-handlers.js.map +1 -1
- package/dist/bin/endorphin.d.ts.map +1 -1
- package/dist/bin/endorphin.js +23 -10
- package/dist/bin/endorphin.js.map +1 -1
- package/dist/examples/.env.example +1 -0
- package/dist/examples/.gitignore.example +37 -0
- package/dist/examples/README-ENDORPHIN.md +240 -0
- package/dist/examples/endorphin.config.ts +113 -0
- package/dist/examples/global-setup.ts +176 -0
- package/dist/examples/tests/HEALTH-001.ts +54 -0
- package/dist/examples/tests/HEALTH-002.ts +49 -0
- package/dist/examples/tests/QUARANTINE-001.ts +22 -0
- package/dist/examples/tests/SAMPLE-001.ts +16 -0
- package/dist/framework/ai/agent-setup.d.ts +54 -0
- package/dist/framework/ai/agent-setup.d.ts.map +1 -0
- package/dist/framework/ai/agent-setup.js +268 -0
- package/dist/framework/ai/agent-setup.js.map +1 -0
- package/dist/framework/{config → ai/config}/agent-config.d.ts +1 -1
- package/dist/framework/ai/config/agent-config.d.ts.map +1 -0
- package/dist/framework/{config → ai/config}/agent-config.js +4 -4
- package/dist/framework/ai/config/agent-config.js.map +1 -0
- package/dist/framework/ai/types/agent.d.ts +106 -0
- package/dist/framework/ai/types/agent.d.ts.map +1 -0
- package/dist/framework/ai/types/agent.js +17 -0
- package/dist/framework/ai/types/agent.js.map +1 -0
- package/dist/framework/ai/validation-agent.d.ts +35 -0
- package/dist/framework/ai/validation-agent.d.ts.map +1 -0
- package/dist/framework/ai/validation-agent.js +206 -0
- package/dist/framework/ai/validation-agent.js.map +1 -0
- package/dist/framework/automation/browser/browser-framework.d.ts +108 -0
- package/dist/framework/automation/browser/browser-framework.d.ts.map +1 -0
- package/dist/framework/automation/browser/browser-framework.js +195 -0
- package/dist/framework/automation/browser/browser-framework.js.map +1 -0
- package/dist/framework/automation/browser/browser-manager.d.ts +113 -0
- package/dist/framework/automation/browser/browser-manager.d.ts.map +1 -0
- package/dist/framework/automation/browser/browser-manager.js +363 -0
- package/dist/framework/automation/browser/browser-manager.js.map +1 -0
- package/dist/framework/automation/config/browser-config.d.ts +33 -0
- package/dist/framework/automation/config/browser-config.d.ts.map +1 -0
- package/dist/framework/automation/config/browser-config.js +38 -0
- package/dist/framework/automation/config/browser-config.js.map +1 -0
- package/dist/framework/automation/engines/browser-engine.d.ts +119 -0
- package/dist/framework/automation/engines/browser-engine.d.ts.map +1 -0
- package/dist/framework/automation/engines/browser-engine.js +572 -0
- package/dist/framework/automation/engines/browser-engine.js.map +1 -0
- package/dist/framework/automation/tools/content-optimization.d.ts +44 -0
- package/dist/framework/automation/tools/content-optimization.d.ts.map +1 -0
- package/dist/framework/automation/tools/content-optimization.js +504 -0
- package/dist/framework/automation/tools/content-optimization.js.map +1 -0
- package/dist/framework/{tools → automation/tools}/content.d.ts +1 -1
- package/dist/framework/automation/tools/content.d.ts.map +1 -0
- package/dist/framework/{tools → automation/tools}/content.js +28 -6
- package/dist/framework/automation/tools/content.js.map +1 -0
- package/dist/framework/automation/tools/differential-content.d.ts +20 -0
- package/dist/framework/automation/tools/differential-content.d.ts.map +1 -0
- package/dist/framework/automation/tools/differential-content.js +267 -0
- package/dist/framework/automation/tools/differential-content.js.map +1 -0
- package/dist/framework/{tools → automation/tools}/index.d.ts +1 -1
- package/dist/framework/automation/tools/index.d.ts.map +1 -0
- package/dist/framework/{tools → automation/tools}/index.js +14 -5
- package/dist/framework/automation/tools/index.js.map +1 -0
- package/dist/framework/{tools → automation/tools}/interaction.d.ts +39 -3
- package/dist/framework/automation/tools/interaction.d.ts.map +1 -0
- package/dist/framework/automation/tools/interaction.js +420 -0
- package/dist/framework/automation/tools/interaction.js.map +1 -0
- package/dist/framework/{tools → automation/tools}/navigation.d.ts +1 -1
- package/dist/framework/automation/tools/navigation.d.ts.map +1 -0
- package/dist/framework/automation/tools/navigation.js.map +1 -0
- package/dist/framework/{tools → automation/tools}/utilities.d.ts +5 -5
- package/dist/framework/automation/tools/utilities.d.ts.map +1 -0
- package/dist/framework/{tools → automation/tools}/utilities.js +10 -4
- package/dist/framework/automation/tools/utilities.js.map +1 -0
- package/dist/framework/{tools → automation/tools}/verification.d.ts +3 -3
- package/dist/framework/automation/tools/verification.d.ts.map +1 -0
- package/dist/framework/{tools → automation/tools}/verification.js +3 -2
- package/dist/framework/automation/tools/verification.js.map +1 -0
- package/dist/framework/automation/types/browser.d.ts +45 -0
- package/dist/framework/automation/types/browser.d.ts.map +1 -0
- package/dist/framework/automation/types/browser.js +5 -0
- package/dist/framework/automation/types/browser.js.map +1 -0
- package/dist/framework/cli/builtin-tools-command.d.ts +29 -0
- package/dist/framework/cli/builtin-tools-command.d.ts.map +1 -0
- package/dist/framework/cli/builtin-tools-command.js +156 -0
- package/dist/framework/cli/builtin-tools-command.js.map +1 -0
- package/dist/framework/cli/init-command.d.ts.map +1 -1
- package/dist/framework/cli/init-command.js +51 -3
- package/dist/framework/cli/init-command.js.map +1 -1
- package/dist/framework/config/constants.d.ts +132 -0
- package/dist/framework/config/constants.d.ts.map +1 -0
- package/dist/framework/config/constants.js +141 -0
- package/dist/framework/config/constants.js.map +1 -0
- package/dist/framework/config/paths.d.ts.map +1 -1
- package/dist/framework/config/paths.js +11 -2
- package/dist/framework/config/paths.js.map +1 -1
- package/dist/framework/config/pricing-config.d.ts +40 -0
- package/dist/framework/config/pricing-config.d.ts.map +1 -0
- package/dist/framework/config/pricing-config.js +189 -0
- package/dist/framework/config/pricing-config.js.map +1 -0
- package/dist/framework/config/system-context.d.ts +15 -0
- package/dist/framework/config/system-context.d.ts.map +1 -0
- package/dist/framework/config/system-context.js +115 -0
- package/dist/framework/config/system-context.js.map +1 -0
- package/dist/framework/content/processors/content-processor.d.ts +40 -0
- package/dist/framework/content/processors/content-processor.d.ts.map +1 -0
- package/dist/framework/content/processors/content-processor.js +291 -0
- package/dist/framework/content/processors/content-processor.js.map +1 -0
- package/dist/framework/content/types/optimization-types.d.ts +49 -0
- package/dist/framework/content/types/optimization-types.d.ts.map +1 -0
- package/dist/framework/content/types/optimization-types.js +5 -0
- package/dist/framework/content/types/optimization-types.js.map +1 -0
- package/dist/framework/content/types/snapshot-types.d.ts +124 -0
- package/dist/framework/content/types/snapshot-types.d.ts.map +1 -0
- package/dist/framework/content/types/snapshot-types.js +6 -0
- package/dist/framework/content/types/snapshot-types.js.map +1 -0
- package/dist/framework/content/utilities/snapshot-helpers.d.ts +92 -0
- package/dist/framework/content/utilities/snapshot-helpers.d.ts.map +1 -0
- package/dist/framework/content/utilities/snapshot-helpers.js +272 -0
- package/dist/framework/content/utilities/snapshot-helpers.js.map +1 -0
- package/dist/framework/content/utils/formatting-utils.d.ts +21 -0
- package/dist/framework/content/utils/formatting-utils.d.ts.map +1 -0
- package/dist/framework/content/utils/formatting-utils.js +109 -0
- package/dist/framework/content/utils/formatting-utils.js.map +1 -0
- package/dist/framework/content/utils/scoring-utils.d.ts +37 -0
- package/dist/framework/content/utils/scoring-utils.d.ts.map +1 -0
- package/dist/framework/content/utils/scoring-utils.js +290 -0
- package/dist/framework/content/utils/scoring-utils.js.map +1 -0
- package/dist/framework/core/config-loader.d.ts.map +1 -1
- package/dist/framework/core/config-loader.js +13 -0
- package/dist/framework/core/config-loader.js.map +1 -1
- package/dist/framework/core/config-manager.d.ts +87 -0
- package/dist/framework/core/config-manager.d.ts.map +1 -0
- package/dist/framework/core/config-manager.js +235 -0
- package/dist/framework/core/config-manager.js.map +1 -0
- package/dist/framework/core/debug-manager.d.ts +90 -0
- package/dist/framework/core/debug-manager.d.ts.map +1 -0
- package/dist/framework/core/debug-manager.js +236 -0
- package/dist/framework/core/debug-manager.js.map +1 -0
- package/dist/framework/core/dependency-container.d.ts +104 -0
- package/dist/framework/core/dependency-container.d.ts.map +1 -0
- package/dist/framework/core/dependency-container.js +310 -0
- package/dist/framework/core/dependency-container.js.map +1 -0
- package/dist/framework/core/global-setup-manager.d.ts +42 -0
- package/dist/framework/core/global-setup-manager.d.ts.map +1 -0
- package/dist/framework/core/global-setup-manager.js +140 -0
- package/dist/framework/core/global-setup-manager.js.map +1 -0
- package/dist/framework/core/logger.d.ts +60 -0
- package/dist/framework/core/logger.d.ts.map +1 -0
- package/dist/framework/core/logger.js +199 -0
- package/dist/framework/core/logger.js.map +1 -0
- package/dist/framework/core/resource-manager.d.ts +95 -0
- package/dist/framework/core/resource-manager.d.ts.map +1 -0
- package/dist/framework/core/resource-manager.js +290 -0
- package/dist/framework/core/resource-manager.js.map +1 -0
- package/dist/framework/core/service-registry.d.ts +76 -0
- package/dist/framework/core/service-registry.d.ts.map +1 -0
- package/dist/framework/core/service-registry.js +190 -0
- package/dist/framework/core/service-registry.js.map +1 -0
- package/dist/framework/core/session-manager.d.ts +103 -0
- package/dist/framework/core/session-manager.d.ts.map +1 -0
- package/dist/framework/core/session-manager.js +264 -0
- package/dist/framework/core/session-manager.js.map +1 -0
- package/dist/framework/core/test-framework-di.d.ts +129 -0
- package/dist/framework/core/test-framework-di.d.ts.map +1 -0
- package/dist/framework/core/test-framework-di.js +430 -0
- package/dist/framework/core/test-framework-di.js.map +1 -0
- package/dist/framework/core/test-framework.d.ts +106 -0
- package/dist/framework/core/test-framework.d.ts.map +1 -0
- package/dist/framework/core/test-framework.js +574 -0
- package/dist/framework/core/test-framework.js.map +1 -0
- package/dist/framework/core/test-manager.d.ts.map +1 -1
- package/dist/framework/core/test-manager.js +14 -3
- package/dist/framework/core/test-manager.js.map +1 -1
- package/dist/framework/core/test-session.d.ts +2 -2
- package/dist/framework/core/test-session.d.ts.map +1 -1
- package/dist/framework/core/test-session.js +9 -8
- package/dist/framework/core/test-session.js.map +1 -1
- package/dist/framework/core/token-tracker.d.ts +96 -0
- package/dist/framework/core/token-tracker.d.ts.map +1 -0
- package/dist/framework/core/token-tracker.js +169 -0
- package/dist/framework/core/token-tracker.js.map +1 -0
- package/dist/framework/core/tool-manager.d.ts +73 -0
- package/dist/framework/core/tool-manager.d.ts.map +1 -0
- package/dist/framework/core/tool-manager.js +149 -0
- package/dist/framework/core/tool-manager.js.map +1 -0
- package/dist/framework/execution/discovery/cli-functions.d.ts +60 -0
- package/dist/framework/execution/discovery/cli-functions.d.ts.map +1 -0
- package/dist/framework/execution/discovery/cli-functions.js +391 -0
- package/dist/framework/execution/discovery/cli-functions.js.map +1 -0
- package/dist/framework/execution/discovery/discovery-types.d.ts +65 -0
- package/dist/framework/execution/discovery/discovery-types.d.ts.map +1 -0
- package/dist/framework/execution/discovery/discovery-types.js +6 -0
- package/dist/framework/execution/discovery/discovery-types.js.map +1 -0
- package/dist/framework/execution/discovery/test-discoverer.d.ts +124 -0
- package/dist/framework/execution/discovery/test-discoverer.d.ts.map +1 -0
- package/dist/framework/execution/discovery/test-discoverer.js +524 -0
- package/dist/framework/execution/discovery/test-discoverer.js.map +1 -0
- package/dist/framework/execution/runner/test-runner.d.ts +63 -0
- package/dist/framework/execution/runner/test-runner.d.ts.map +1 -0
- package/dist/framework/execution/runner/test-runner.js +352 -0
- package/dist/framework/execution/runner/test-runner.js.map +1 -0
- package/dist/framework/{runner → execution/tasks}/task-executor.d.ts +1 -1
- package/dist/framework/execution/tasks/task-executor.d.ts.map +1 -0
- package/dist/framework/{runner → execution/tasks}/task-executor.js +1 -1
- package/dist/framework/execution/tasks/task-executor.js.map +1 -0
- package/dist/framework/index.d.ts +36 -22
- package/dist/framework/index.d.ts.map +1 -1
- package/dist/framework/index.js +38 -21
- package/dist/framework/index.js.map +1 -1
- package/dist/framework/managers/content/snapshot-manager.d.ts +79 -0
- package/dist/framework/managers/content/snapshot-manager.d.ts.map +1 -0
- package/dist/framework/managers/content/snapshot-manager.js +524 -0
- package/dist/framework/managers/content/snapshot-manager.js.map +1 -0
- package/dist/framework/managers/system/framework-manager.d.ts +131 -0
- package/dist/framework/managers/system/framework-manager.d.ts.map +1 -0
- package/dist/framework/managers/system/framework-manager.js +328 -0
- package/dist/framework/managers/system/framework-manager.js.map +1 -0
- package/dist/framework/reporters/html-reporter.d.ts +93 -74
- package/dist/framework/reporters/html-reporter.d.ts.map +1 -1
- package/dist/framework/reporters/html-reporter.js +194 -424
- package/dist/framework/reporters/html-reporter.js.map +1 -1
- package/dist/framework/reporting/generators/html-generator.d.ts +70 -0
- package/dist/framework/reporting/generators/html-generator.d.ts.map +1 -0
- package/dist/framework/reporting/generators/html-generator.js +509 -0
- package/dist/framework/reporting/generators/html-generator.js.map +1 -0
- package/dist/framework/reporting/processors/asset-manager.d.ts +74 -0
- package/dist/framework/reporting/processors/asset-manager.d.ts.map +1 -0
- package/dist/framework/reporting/processors/asset-manager.js +402 -0
- package/dist/framework/reporting/processors/asset-manager.js.map +1 -0
- package/dist/framework/reporting/processors/results-parser.d.ts +113 -0
- package/dist/framework/reporting/processors/results-parser.d.ts.map +1 -0
- package/dist/framework/reporting/processors/results-parser.js +317 -0
- package/dist/framework/reporting/processors/results-parser.js.map +1 -0
- package/dist/framework/results/test-results-manager.d.ts +6 -6
- package/dist/framework/results/test-results-manager.d.ts.map +1 -1
- package/dist/framework/results/test-results-manager.js +21 -54
- package/dist/framework/results/test-results-manager.js.map +1 -1
- package/dist/framework/results/test-results-parser.d.ts.map +1 -1
- package/dist/framework/templates/reporter/report-template.html +166 -16
- package/dist/framework/templates/reporter/scripts.d.ts +17 -0
- package/dist/framework/templates/reporter/scripts.d.ts.map +1 -1
- package/dist/framework/templates/reporter/scripts.js +251 -3
- package/dist/framework/templates/reporter/scripts.js.map +1 -1
- package/dist/framework/templates/reporter/styles.css +56 -0
- package/dist/framework/test-recorder/index.d.ts +2 -2
- package/dist/framework/test-recorder/index.d.ts.map +1 -1
- package/dist/framework/test-recorder/index.js +2 -2
- package/dist/framework/test-recorder/index.js.map +1 -1
- package/dist/framework/test-recorder/interactive-recorder.d.ts +5 -1
- package/dist/framework/test-recorder/interactive-recorder.d.ts.map +1 -1
- package/dist/framework/test-recorder/interactive-recorder.js +267 -38
- package/dist/framework/test-recorder/interactive-recorder.js.map +1 -1
- package/dist/framework/test-recorder/session-recorder.d.ts +1 -1
- package/dist/framework/test-recorder/session-recorder.d.ts.map +1 -1
- package/dist/framework/test-recorder/session-recorder.js +46 -20
- package/dist/framework/test-recorder/session-recorder.js.map +1 -1
- package/dist/framework/types/config.d.ts +26 -1
- package/dist/framework/types/config.d.ts.map +1 -1
- package/dist/framework/types/errors.d.ts +85 -12
- package/dist/framework/types/errors.d.ts.map +1 -1
- package/dist/framework/types/errors.js +160 -20
- package/dist/framework/types/errors.js.map +1 -1
- package/dist/framework/types/index.d.ts +5 -5
- package/dist/framework/types/index.d.ts.map +1 -1
- package/dist/framework/types/index.js +1 -1
- package/dist/framework/types/index.js.map +1 -1
- package/dist/framework/types/recorder.d.ts +1 -1
- package/dist/framework/types/recorder.d.ts.map +1 -1
- package/dist/framework/types/structured-response.d.ts +200 -0
- package/dist/framework/types/structured-response.d.ts.map +1 -0
- package/dist/framework/types/structured-response.js +155 -0
- package/dist/framework/types/structured-response.js.map +1 -0
- package/dist/framework/types/test.d.ts +95 -8
- package/dist/framework/types/test.d.ts.map +1 -1
- package/dist/framework/utils/directory-manager.d.ts +31 -0
- package/dist/framework/utils/directory-manager.d.ts.map +1 -0
- package/dist/framework/utils/directory-manager.js +124 -0
- package/dist/framework/utils/directory-manager.js.map +1 -0
- package/dist/framework/utils/generate-data.d.ts +20 -0
- package/dist/framework/utils/generate-data.d.ts.map +1 -0
- package/dist/framework/utils/generate-data.js +209 -0
- package/dist/framework/utils/generate-data.js.map +1 -0
- package/dist/framework/utils/index.d.ts +5 -0
- package/dist/framework/utils/index.d.ts.map +1 -0
- package/dist/framework/utils/index.js +6 -0
- package/dist/framework/utils/index.js.map +1 -0
- package/dist/framework/utils/step-parser.d.ts +48 -0
- package/dist/framework/utils/step-parser.d.ts.map +1 -0
- package/dist/framework/utils/step-parser.js +114 -0
- package/dist/framework/utils/step-parser.js.map +1 -0
- package/dist/framework/utils/test-helpers.d.ts +62 -0
- package/dist/framework/utils/test-helpers.d.ts.map +1 -0
- package/dist/framework/utils/test-helpers.js +242 -0
- package/dist/framework/utils/test-helpers.js.map +1 -0
- package/dist/package.json +130 -0
- package/examples/.env.example +0 -6
- package/examples/.gitignore.example +28 -7
- package/examples/README-ENDORPHIN.md +5 -3
- package/examples/endorphin.config.ts +96 -11
- package/examples/global-setup.ts +176 -0
- package/examples/tests/HEALTH-001.ts +54 -0
- package/examples/tests/HEALTH-002.ts +49 -0
- package/examples/tests/QUARANTINE-001.ts +22 -0
- package/examples/tests/SAMPLE-001.ts +16 -0
- package/package.json +20 -15
- package/scripts/postinstall.js +0 -0
- package/dist/examples/endorphin.config.d.ts +0 -24
- package/dist/examples/endorphin.config.d.ts.map +0 -1
- package/dist/examples/endorphin.config.js +0 -26
- package/dist/examples/endorphin.config.js.map +0 -1
- package/dist/examples/tests/sample-test.d.ts +0 -14
- package/dist/examples/tests/sample-test.d.ts.map +0 -1
- package/dist/examples/tests/sample-test.js +0 -34
- package/dist/examples/tests/sample-test.js.map +0 -1
- package/dist/framework/config/agent-config.d.ts.map +0 -1
- package/dist/framework/config/agent-config.js.map +0 -1
- package/dist/framework/core/agent-setup.d.ts +0 -17
- package/dist/framework/core/agent-setup.d.ts.map +0 -1
- package/dist/framework/core/agent-setup.js +0 -59
- package/dist/framework/core/agent-setup.js.map +0 -1
- package/dist/framework/core/browser-framework.d.ts +0 -73
- package/dist/framework/core/browser-framework.d.ts.map +0 -1
- package/dist/framework/core/browser-framework.js +0 -672
- package/dist/framework/core/browser-framework.js.map +0 -1
- package/dist/framework/core/test-discovery.d.ts +0 -81
- package/dist/framework/core/test-discovery.d.ts.map +0 -1
- package/dist/framework/core/test-discovery.js +0 -498
- package/dist/framework/core/test-discovery.js.map +0 -1
- package/dist/framework/runner/task-executor.d.ts.map +0 -1
- package/dist/framework/runner/task-executor.js.map +0 -1
- package/dist/framework/tools/content.d.ts.map +0 -1
- package/dist/framework/tools/content.js.map +0 -1
- package/dist/framework/tools/index.d.ts.map +0 -1
- package/dist/framework/tools/index.js.map +0 -1
- package/dist/framework/tools/interaction.d.ts.map +0 -1
- package/dist/framework/tools/interaction.js +0 -183
- package/dist/framework/tools/interaction.js.map +0 -1
- package/dist/framework/tools/navigation.d.ts.map +0 -1
- package/dist/framework/tools/navigation.js.map +0 -1
- package/dist/framework/tools/utilities.d.ts.map +0 -1
- package/dist/framework/tools/utilities.js.map +0 -1
- package/dist/framework/tools/verification.d.ts.map +0 -1
- package/dist/framework/tools/verification.js.map +0 -1
- package/dist/framework/types/agent.d.ts +0 -46
- package/dist/framework/types/agent.d.ts.map +0 -1
- package/dist/framework/types/agent.js +0 -5
- package/dist/framework/types/agent.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/examples/test-results/.gitkeep +0 -0
- package/examples/tests/sample-test.ts +0 -34
- package/examples/tools/.gitkeep +0 -0
- package/scripts/cleanup-test-artifacts.sh +0 -69
- /package/dist/framework/{tools → automation/tools}/navigation.js +0 -0
package/README.md
CHANGED
|
@@ -46,23 +46,25 @@ Get started in under 30 seconds:
|
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
48
|
# ⚡ Quick setup (recommended)
|
|
49
|
-
npx create-endorphin-ai my-ai-tests
|
|
49
|
+
npx create-endorphin-ai@latest my-ai-tests
|
|
50
50
|
cd my-ai-tests
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
**Or manual setup:**
|
|
54
|
+
|
|
54
55
|
```bash
|
|
55
56
|
# 1. Create your project
|
|
56
57
|
mkdir my-ai-tests && cd my-ai-tests
|
|
57
58
|
|
|
58
59
|
# 2. Install Endorphin AI
|
|
59
|
-
npm install endorphin-ai
|
|
60
|
+
npm install endorphin-ai@latest --save-dev
|
|
60
61
|
|
|
61
62
|
# 3. Initialize with everything you need
|
|
62
63
|
npx endorphin-ai init
|
|
63
64
|
```
|
|
64
65
|
|
|
65
66
|
**What you get:**
|
|
67
|
+
|
|
66
68
|
- ✅ Sample test ready to run
|
|
67
69
|
- ✅ Configuration files
|
|
68
70
|
- ✅ Project structure
|
|
@@ -75,7 +77,7 @@ npx endorphin-ai init
|
|
|
75
77
|
echo "OPENAI_API_KEY=your-openai-api-key-here" > .env
|
|
76
78
|
```
|
|
77
79
|
|
|
78
|
-
|
|
80
|
+
_Get your API key from [OpenAI Platform](https://platform.openai.com/api-keys)_
|
|
79
81
|
|
|
80
82
|
### ▶️ Run Your First Test
|
|
81
83
|
|
|
@@ -88,6 +90,7 @@ npx endorphin-ai generate report && npx endorphin-ai open report
|
|
|
88
90
|
```
|
|
89
91
|
|
|
90
92
|
**🎉 That's it!** You now have:
|
|
93
|
+
|
|
91
94
|
- A working AI-powered test
|
|
92
95
|
- Interactive HTML reports with screenshots
|
|
93
96
|
- Complete project structure for scaling
|
|
@@ -114,7 +117,9 @@ npm install -g endorphin-ai
|
|
|
114
117
|
endorphin-ai init
|
|
115
118
|
```
|
|
116
119
|
|
|
117
|
-
**Why this happens:** This is a known npm/npx issue with local binary
|
|
120
|
+
**Why this happens:** This is a known npm/npx issue with local binary
|
|
121
|
+
resolution, not a problem with Endorphin AI. The npm scripts above always work
|
|
122
|
+
regardless of npx behavior.
|
|
118
123
|
|
|
119
124
|
### Manual Setup (Alternative)
|
|
120
125
|
|
|
@@ -182,7 +187,7 @@ If you prefer manual setup:
|
|
|
182
187
|
"scripts": {
|
|
183
188
|
"test": "endorphin-ai run test all",
|
|
184
189
|
"test:smoke": "endorphin-ai run test --tag smoke",
|
|
185
|
-
"test:auth": "endorphin-ai run test --tag authentication",
|
|
190
|
+
"test:auth": "endorphin-ai run test --tag authentication",
|
|
186
191
|
"test:single": "endorphin-ai run test",
|
|
187
192
|
"test:record": "endorphin-ai run test-recorder",
|
|
188
193
|
"endorphin:init": "./node_modules/.bin/endorphin-ai init",
|
|
@@ -194,25 +199,32 @@ If you prefer manual setup:
|
|
|
194
199
|
## 🎯 Core Features
|
|
195
200
|
|
|
196
201
|
### 🤖 AI-Powered Testing
|
|
202
|
+
|
|
197
203
|
- **Write tests in plain English** - No complex selectors needed
|
|
198
|
-
- **Intelligent element detection** - AI finds buttons, forms, and content
|
|
204
|
+
- **Intelligent element detection** - AI finds buttons, forms, and content
|
|
205
|
+
automatically
|
|
199
206
|
- **Self-healing tests** - Adapts to UI changes without breaking
|
|
200
|
-
- **Smart error recovery** - Automatically retries failed actions with different
|
|
207
|
+
- **Smart error recovery** - Automatically retries failed actions with different
|
|
208
|
+
strategies
|
|
201
209
|
|
|
202
210
|
### 📊 Beautiful Reports
|
|
211
|
+
|
|
203
212
|
- **Interactive HTML reports** with screenshots and step-by-step execution
|
|
204
213
|
- **Real-time filtering and search** to quickly find issues
|
|
205
214
|
- **Visual debugging** with click-to-zoom screenshots
|
|
206
215
|
- **Export capabilities** for sharing with your team
|
|
207
216
|
|
|
208
217
|
### 🛠️ Developer Experience
|
|
218
|
+
|
|
209
219
|
- **Zero configuration** - Works out of the box
|
|
210
220
|
- **TypeScript support** with full type definitions
|
|
221
|
+
- **Custom tools** - Extend testing capabilities with your own AI-powered tools
|
|
211
222
|
- **Multiple browsers** - Chrome, Firefox, Safari support
|
|
212
223
|
- **Parallel execution** for faster test runs
|
|
213
224
|
- **Hot reload** for rapid test development
|
|
214
225
|
|
|
215
226
|
### 🎮 Interactive Tools
|
|
227
|
+
|
|
216
228
|
- **Test Recorder** - Create tests by clicking through your app
|
|
217
229
|
- **Live debugging** - See exactly what the AI is doing
|
|
218
230
|
- **Custom test creation** with guided prompts
|
|
@@ -222,7 +234,7 @@ If you prefer manual setup:
|
|
|
222
234
|
|
|
223
235
|
## 🔄 Staying Updated
|
|
224
236
|
|
|
225
|
-
### Current Version: v0.
|
|
237
|
+
### Current Version: v0.8.0
|
|
226
238
|
|
|
227
239
|
```bash
|
|
228
240
|
# Check your current version
|
|
@@ -235,12 +247,16 @@ npm update endorphin-ai
|
|
|
235
247
|
npx endorphin-ai --help
|
|
236
248
|
```
|
|
237
249
|
|
|
238
|
-
### What's New in v0.
|
|
239
|
-
|
|
240
|
-
- ✅ **
|
|
241
|
-
-
|
|
242
|
-
- ✅ **
|
|
243
|
-
- ✅ **
|
|
250
|
+
### What's New in v0.8.0
|
|
251
|
+
|
|
252
|
+
- ✅ **Custom Tools Support** - Extend testing capabilities with your own
|
|
253
|
+
AI-powered tools
|
|
254
|
+
- ✅ **CLI Tool Management** - Create, validate, and list custom tools
|
|
255
|
+
- ✅ **Template System** - Quick tool creation with built-in templates (basic,
|
|
256
|
+
API, UI)
|
|
257
|
+
- ✅ **Comprehensive Error Handling** - Robust error classification and recovery
|
|
258
|
+
- ✅ **Auto-Discovery** - Automatic tool loading with detailed validation
|
|
259
|
+
- ✅ **TypeScript-First** - Full type safety and IntelliSense for custom tools
|
|
244
260
|
|
|
245
261
|
## 🚀 Project Initialization
|
|
246
262
|
|
|
@@ -259,6 +275,7 @@ The `init` command creates:
|
|
|
259
275
|
- ✅ `test-recorder/` for recorded tests
|
|
260
276
|
- ✅ `.env` file with API key placeholder
|
|
261
277
|
- ✅ `endorphin.config.ts` with optimized TypeScript settings
|
|
278
|
+
|
|
262
279
|
- ✅ `tsconfig.json` for TypeScript compilation
|
|
263
280
|
- ✅ `.gitignore` with Endorphin-specific patterns
|
|
264
281
|
- ✅ `README-ENDORPHIN.md` quick start guide
|
|
@@ -299,6 +316,9 @@ npx endorphin-ai init
|
|
|
299
316
|
|
|
300
317
|
# What gets created:
|
|
301
318
|
# ├── tests/sample-test.ts # Ready-to-run TypeScript test
|
|
319
|
+
# ├── tools/ # Custom tools directory
|
|
320
|
+
# │ ├── jsonplaceholder-api.ts # Working API tool example
|
|
321
|
+
# │ └── README.md # Custom tools documentation
|
|
302
322
|
# ├── .env # API key configuration
|
|
303
323
|
# ├── endorphin.config.ts # Framework settings (TypeScript)
|
|
304
324
|
# ├── tsconfig.json # TypeScript configuration
|
|
@@ -525,7 +545,7 @@ export const LOGIN_TEST: TestCase = {
|
|
|
525
545
|
|
|
526
546
|
export const LOGOUT_TEST: TestCase = {
|
|
527
547
|
id: 'AUTH-002',
|
|
528
|
-
name: 'User Logout Test',
|
|
548
|
+
name: 'User Logout Test',
|
|
529
549
|
description: 'Test user logout functionality',
|
|
530
550
|
tags: ['authentication'],
|
|
531
551
|
priority: 'Medium',
|
|
@@ -534,6 +554,121 @@ export const LOGOUT_TEST: TestCase = {
|
|
|
534
554
|
};
|
|
535
555
|
```
|
|
536
556
|
|
|
557
|
+
## 🔧 Custom Tools
|
|
558
|
+
|
|
559
|
+
Endorphin AI supports custom tools that extend the framework's capabilities with
|
|
560
|
+
your own AI-powered functionality.
|
|
561
|
+
|
|
562
|
+
### 🚀 Quick Start with Custom Tools
|
|
563
|
+
|
|
564
|
+
When you run `npx endorphin-ai init`, you automatically get a working custom
|
|
565
|
+
tool example:
|
|
566
|
+
|
|
567
|
+
```bash
|
|
568
|
+
npx endorphin-ai init
|
|
569
|
+
# Creates tools/jsonplaceholder-api.ts - a working API testing tool
|
|
570
|
+
```
|
|
571
|
+
|
|
572
|
+
### 📝 Creating Custom Tools
|
|
573
|
+
|
|
574
|
+
Use the CLI to create new tools from templates:
|
|
575
|
+
|
|
576
|
+
```bash
|
|
577
|
+
# Create a basic custom tool
|
|
578
|
+
npx endorphin create tool my-custom-tool
|
|
579
|
+
|
|
580
|
+
# Create an API testing tool
|
|
581
|
+
npx endorphin create tool api-validator --template api
|
|
582
|
+
|
|
583
|
+
# Create a UI automation tool
|
|
584
|
+
npx endorphin create tool ui-helper --template ui
|
|
585
|
+
```
|
|
586
|
+
|
|
587
|
+
### ✅ Validate Your Tools
|
|
588
|
+
|
|
589
|
+
Ensure your custom tools work correctly:
|
|
590
|
+
|
|
591
|
+
```bash
|
|
592
|
+
# Validate all custom tools
|
|
593
|
+
npx endorphin validate tools
|
|
594
|
+
|
|
595
|
+
# List all available tools (built-in + custom)
|
|
596
|
+
npx endorphin list tools
|
|
597
|
+
|
|
598
|
+
# Show detailed information
|
|
599
|
+
npx endorphin list tools --verbose
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
### 🛠️ Tool Development
|
|
603
|
+
|
|
604
|
+
Create powerful custom tools in TypeScript:
|
|
605
|
+
|
|
606
|
+
```typescript
|
|
607
|
+
// tools/my-api-tool.ts
|
|
608
|
+
import { z } from 'zod';
|
|
609
|
+
import type { EnhancedBrowserTestFramework } from 'endorphin-ai';
|
|
610
|
+
|
|
611
|
+
export function createApiTool(framework: EnhancedBrowserTestFramework) {
|
|
612
|
+
return {
|
|
613
|
+
name: 'api-validator',
|
|
614
|
+
description: 'Validate API responses and data',
|
|
615
|
+
schema: z.object({
|
|
616
|
+
endpoint: z.string().describe('API endpoint to test'),
|
|
617
|
+
method: z.enum(['GET', 'POST', 'PUT', 'DELETE']).default('GET'),
|
|
618
|
+
expectedStatus: z.number().default(200),
|
|
619
|
+
}),
|
|
620
|
+
call: async ({ endpoint, method, expectedStatus }) => {
|
|
621
|
+
framework.logTestStep(`Testing ${method} ${endpoint}`);
|
|
622
|
+
|
|
623
|
+
const response = await fetch(endpoint, { method });
|
|
624
|
+
const data = await response.json();
|
|
625
|
+
|
|
626
|
+
if (response.status !== expectedStatus) {
|
|
627
|
+
throw new Error(`Expected ${expectedStatus}, got ${response.status}`);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
return {
|
|
631
|
+
status: response.status,
|
|
632
|
+
data,
|
|
633
|
+
message: `API test passed: ${method} ${endpoint}`,
|
|
634
|
+
};
|
|
635
|
+
},
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
```
|
|
639
|
+
|
|
640
|
+
### ⚙️ Configuration
|
|
641
|
+
|
|
642
|
+
Add custom tools to your `endorphin.config.ts`:
|
|
643
|
+
|
|
644
|
+
```typescript
|
|
645
|
+
// endorphin.config.ts
|
|
646
|
+
import type { FrameworkConfig } from 'endorphin-ai';
|
|
647
|
+
|
|
648
|
+
const config: FrameworkConfig = {
|
|
649
|
+
// Enable custom tools from the tools directory
|
|
650
|
+
customTools: ['./tools'],
|
|
651
|
+
|
|
652
|
+
// Or specify individual files
|
|
653
|
+
customTools: [
|
|
654
|
+
'./tools/api-tool.ts',
|
|
655
|
+
'./tools/database-tool.ts',
|
|
656
|
+
'./my-custom-tools/',
|
|
657
|
+
],
|
|
658
|
+
|
|
659
|
+
// Other configuration...
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
export default config;
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
### 📖 Custom Tools Guide
|
|
666
|
+
|
|
667
|
+
For detailed documentation on creating, configuring, and using custom tools,
|
|
668
|
+
see:
|
|
669
|
+
|
|
670
|
+
**[📖 Custom Tools Development Guide](./doc/Custom-Tools-Guide.md)**
|
|
671
|
+
|
|
537
672
|
## 📁 Project Structure
|
|
538
673
|
|
|
539
674
|
Your project should look like this:
|
|
@@ -545,6 +680,10 @@ my-test-project/
|
|
|
545
680
|
│ ├── login-test.ts # Authentication tests
|
|
546
681
|
│ ├── checkout-test.ts # E-commerce tests
|
|
547
682
|
│ └── navigation-test.ts # UI/Navigation tests
|
|
683
|
+
├── tools/ # Custom tools (optional)
|
|
684
|
+
│ ├── jsonplaceholder-api.ts # API testing tool
|
|
685
|
+
│ ├── database-tool.ts # Database operations
|
|
686
|
+
│ └── custom-validators.ts # Custom validation tools
|
|
548
687
|
├── endorphin.config.ts # Optional configuration (TypeScript)
|
|
549
688
|
├── tsconfig.json # TypeScript configuration
|
|
550
689
|
└── package.json # Project config
|
|
@@ -587,7 +726,7 @@ export const QE002: TestCase = {
|
|
|
587
726
|
### 🎯 TypeScript Benefits
|
|
588
727
|
|
|
589
728
|
- ✅ **Full type safety** for test configuration
|
|
590
|
-
- ✅ **IntelliSense support** in your IDE
|
|
729
|
+
- ✅ **IntelliSense support** in your IDE
|
|
591
730
|
- ✅ **Compile-time error checking**
|
|
592
731
|
- ✅ **Auto-completion** for test properties
|
|
593
732
|
- ✅ **Refactoring support** across your test suite
|
|
@@ -643,30 +782,35 @@ utilities.
|
|
|
643
782
|
## 💡 Common Use Cases
|
|
644
783
|
|
|
645
784
|
### 🔐 Authentication Testing
|
|
785
|
+
|
|
646
786
|
```bash
|
|
647
787
|
# Test login flows across different user types
|
|
648
788
|
npx endorphin run test --tag authentication
|
|
649
789
|
```
|
|
650
790
|
|
|
651
|
-
### 🛒 E-commerce Workflows
|
|
791
|
+
### 🛒 E-commerce Workflows
|
|
792
|
+
|
|
652
793
|
```bash
|
|
653
794
|
# Test complete purchase flows
|
|
654
795
|
npx endorphin run test --tag checkout
|
|
655
796
|
```
|
|
656
797
|
|
|
657
798
|
### 📱 Responsive Testing
|
|
799
|
+
|
|
658
800
|
```bash
|
|
659
801
|
# Test mobile, tablet, and desktop layouts
|
|
660
802
|
npx endorphin run test --tag responsive
|
|
661
803
|
```
|
|
662
804
|
|
|
663
805
|
### 🔍 Search & Navigation
|
|
806
|
+
|
|
664
807
|
```bash
|
|
665
808
|
# Test site search and menu navigation
|
|
666
809
|
npx endorphin run test --tag navigation
|
|
667
810
|
```
|
|
668
811
|
|
|
669
812
|
### 📊 Form Validation
|
|
813
|
+
|
|
670
814
|
```bash
|
|
671
815
|
# Test form submissions and validation
|
|
672
816
|
npx endorphin run test --tag forms
|
|
@@ -678,14 +822,14 @@ npx endorphin run test --tag forms
|
|
|
678
822
|
|
|
679
823
|
### Traditional E2E Testing vs Endorphin AI
|
|
680
824
|
|
|
681
|
-
| Traditional Testing
|
|
682
|
-
|
|
683
|
-
| ❌ Brittle CSS selectors
|
|
684
|
-
| ❌ Breaks with UI changes | ✅ Self-healing tests
|
|
685
|
-
| ❌ Complex setup
|
|
686
|
-
| ❌ Hard to maintain
|
|
687
|
-
| ❌ Basic reporting
|
|
688
|
-
| ❌ Manual debugging
|
|
825
|
+
| Traditional Testing | Endorphin AI |
|
|
826
|
+
| ------------------------- | ------------------------------------ |
|
|
827
|
+
| ❌ Brittle CSS selectors | ✅ AI finds elements intelligently |
|
|
828
|
+
| ❌ Breaks with UI changes | ✅ Self-healing tests |
|
|
829
|
+
| ❌ Complex setup | ✅ Zero configuration |
|
|
830
|
+
| ❌ Hard to maintain | ✅ Plain English test descriptions |
|
|
831
|
+
| ❌ Basic reporting | ✅ Interactive HTML reports |
|
|
832
|
+
| ❌ Manual debugging | ✅ Visual debugging with screenshots |
|
|
689
833
|
|
|
690
834
|
### 🚀 Production Ready
|
|
691
835
|
|
|
@@ -728,6 +872,22 @@ npx endorphin run test-recorder
|
|
|
728
872
|
npx endorphin list
|
|
729
873
|
```
|
|
730
874
|
|
|
875
|
+
#### Custom Tools Management
|
|
876
|
+
|
|
877
|
+
```bash
|
|
878
|
+
# Create a new custom tool
|
|
879
|
+
npx endorphin create tool my-tool
|
|
880
|
+
npx endorphin create tool api-tool --template api
|
|
881
|
+
npx endorphin create tool ui-tool --template ui
|
|
882
|
+
|
|
883
|
+
# Validate all custom tools
|
|
884
|
+
npx endorphin validate tools
|
|
885
|
+
|
|
886
|
+
# List all tools (built-in + custom)
|
|
887
|
+
npx endorphin list tools
|
|
888
|
+
npx endorphin list tools --verbose
|
|
889
|
+
```
|
|
890
|
+
|
|
731
891
|
#### Project Setup
|
|
732
892
|
|
|
733
893
|
```bash
|
|
@@ -831,6 +991,9 @@ Add these to your `package.json`:
|
|
|
831
991
|
"test:summary": "endorphin generate report --summary",
|
|
832
992
|
"test:open": "endorphin open report",
|
|
833
993
|
"test:cleanup": "endorphin cleanup results",
|
|
994
|
+
"tools:create": "endorphin create tool",
|
|
995
|
+
"tools:validate": "endorphin validate tools",
|
|
996
|
+
"tools:list": "endorphin list tools",
|
|
834
997
|
"endorphin:init": "./node_modules/.bin/endorphin-ai init",
|
|
835
998
|
"endorphin:version": "./node_modules/.bin/endorphin --version",
|
|
836
999
|
"endorphin:help": "./node_modules/.bin/endorphin --help"
|
|
@@ -846,6 +1009,11 @@ npm run test:smoke # Run smoke tests
|
|
|
846
1009
|
npm run test:report # Generate HTML report
|
|
847
1010
|
npm run test:open # Open latest report
|
|
848
1011
|
|
|
1012
|
+
# Custom tools management:
|
|
1013
|
+
npm run tools:create my-tool # Create new tool
|
|
1014
|
+
npm run tools:validate # Validate all tools
|
|
1015
|
+
npm run tools:list # List all tools
|
|
1016
|
+
|
|
849
1017
|
# Guaranteed to work (bypasses npx issues):
|
|
850
1018
|
npm run endorphin:init # Initialize project
|
|
851
1019
|
npm run endorphin:version # Check version
|
|
@@ -882,7 +1050,8 @@ npx endorphin-ai --version
|
|
|
882
1050
|
|
|
883
1051
|
### Version History & Features
|
|
884
1052
|
|
|
885
|
-
- **v0.
|
|
1053
|
+
- **v0.8.0** _(Latest)_: Custom tools support with CLI management and templates
|
|
1054
|
+
- **v0.6.1**: Fixed npx resolution issues, enhanced user experience
|
|
886
1055
|
- **v0.6.0**: Enhanced CLI, security-first publishing, cross-platform CI/CD
|
|
887
1056
|
- **v0.5.0**: Advanced HTML reporting with interactive features
|
|
888
1057
|
- **v0.4.0**: TypeScript-first experience with full type definitions
|
|
@@ -906,28 +1075,41 @@ Update with confidence - your existing tests won't break!
|
|
|
906
1075
|
## 🤝 Support & Community
|
|
907
1076
|
|
|
908
1077
|
### 📚 Documentation
|
|
1078
|
+
|
|
909
1079
|
- **[Quick Start Guide](./README.md)** - Get up and running quickly
|
|
910
|
-
- **[
|
|
911
|
-
|
|
1080
|
+
- **[Custom Tools Development Guide](./doc/Custom-Tools-Guide.md)** - Create and
|
|
1081
|
+
manage custom tools
|
|
1082
|
+
- **[HTML Reporter Guide](./doc/user-guide/HTML-Reporter-Guide.md)** -
|
|
1083
|
+
Interactive reporting
|
|
1084
|
+
- **[Framework Architecture](./doc/Framework-Architecture.md)** - Technical deep
|
|
1085
|
+
dive
|
|
912
1086
|
|
|
913
1087
|
### 🐛 Issues & Feature Requests
|
|
914
|
-
|
|
1088
|
+
|
|
1089
|
+
Found a bug or have a feature idea?
|
|
1090
|
+
[Open an issue](https://github.com/andrewnovykov/endorphin-ai/issues) on GitHub.
|
|
915
1091
|
|
|
916
1092
|
### 💬 Getting Help
|
|
1093
|
+
|
|
917
1094
|
- Check the **[documentation](./doc/)** first
|
|
918
|
-
- Search
|
|
919
|
-
|
|
1095
|
+
- Search
|
|
1096
|
+
**[existing issues](https://github.com/andrewnovykov/endorphin-ai/issues)**
|
|
1097
|
+
- Create a
|
|
1098
|
+
**[new issue](https://github.com/andrewnovykov/endorphin-ai/issues/new)** with
|
|
1099
|
+
details
|
|
920
1100
|
|
|
921
1101
|
---
|
|
922
1102
|
|
|
923
1103
|
## 📄 License
|
|
924
1104
|
|
|
925
|
-
Endorphin AI is licensed under the **GNU Affero General Public License v3.0**
|
|
1105
|
+
Endorphin AI is licensed under the **GNU Affero General Public License v3.0**
|
|
1106
|
+
(AGPLv3).
|
|
926
1107
|
|
|
927
1108
|
**For Open Source Projects**: Free to use under AGPLv3
|
|
928
1109
|
**For Commercial Projects**: Commercial licenses available
|
|
929
1110
|
|
|
930
|
-
📧 Contact: [iam@andrewnovykov.com](mailto:iam@andrewnovykov.com) for licensing
|
|
1111
|
+
📧 Contact: [iam@andrewnovykov.com](mailto:iam@andrewnovykov.com) for licensing
|
|
1112
|
+
questions
|
|
931
1113
|
|
|
932
1114
|
---
|
|
933
1115
|
|
|
@@ -21,18 +21,12 @@ export declare function handleInitCommand(): Promise<void>;
|
|
|
21
21
|
* Handle test recorder command
|
|
22
22
|
*/
|
|
23
23
|
export declare function handleTestRecorderCommand(config: FrameworkConfig): Promise<void>;
|
|
24
|
-
/**
|
|
25
|
-
* Handle test by tag
|
|
26
|
-
*/
|
|
27
|
-
export declare function handleTestByTag(args: string[], config: FrameworkConfig): Promise<void>;
|
|
28
|
-
/**
|
|
29
|
-
* Handle test by priority
|
|
30
|
-
*/
|
|
31
|
-
export declare function handleTestByPriority(args: string[], config: FrameworkConfig): Promise<void>;
|
|
32
24
|
/**
|
|
33
25
|
* Handle test command with different options
|
|
34
26
|
*/
|
|
35
|
-
export declare function handleTestCommand(args: string[], target: string | undefined, config: FrameworkConfig
|
|
27
|
+
export declare function handleTestCommand(args: string[], target: string | undefined, config: FrameworkConfig, options?: {
|
|
28
|
+
parallel?: number;
|
|
29
|
+
}): Promise<void>;
|
|
36
30
|
/**
|
|
37
31
|
* Handle generate command
|
|
38
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-handlers.d.ts","sourceRoot":"","sources":["../../bin/cli-handlers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EAAE,EACd,WAAW,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAChC,QAAQ,EAAE,MAAM,IAAI,GACnB,IAAI,CAeN;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAK9E;AAED;;GAEG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAWvD;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"cli-handlers.d.ts","sourceRoot":"","sources":["../../bin/cli-handlers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EAAE,EACd,WAAW,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAChC,QAAQ,EAAE,MAAM,IAAI,GACnB,IAAI,CAeN;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAK9E;AAED;;GAEG;AACH,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAWvD;AAED;;GAEG;AACH,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAOtF;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EAAE,EACd,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,MAAM,EAAE,eAAe,EACvB,OAAO,GAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAO,GAClC,OAAO,CAAC,IAAI,CAAC,CA2Bf;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAyB7F;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAa1F"}
|
package/dist/bin/cli-handlers.js
CHANGED
|
@@ -23,7 +23,7 @@ export function handleHelpAndVersion(args, packageInfo, showHelp) {
|
|
|
23
23
|
*/
|
|
24
24
|
export async function handleListCommand(config) {
|
|
25
25
|
console.log('📋 Available Tests:');
|
|
26
|
-
const { listAllTests } = await import('../framework/
|
|
26
|
+
const { listAllTests } = await import('../framework/execution/discovery/cli-functions.js');
|
|
27
27
|
await listAllTests(config);
|
|
28
28
|
process.exit(0);
|
|
29
29
|
}
|
|
@@ -52,55 +52,26 @@ export async function handleTestRecorderCommand(config) {
|
|
|
52
52
|
await runInteractiveRecorder(config);
|
|
53
53
|
process.exit(0);
|
|
54
54
|
}
|
|
55
|
-
/**
|
|
56
|
-
* Handle test by tag
|
|
57
|
-
*/
|
|
58
|
-
export async function handleTestByTag(args, config) {
|
|
59
|
-
const tagIndex = args.indexOf('--tag');
|
|
60
|
-
const tag = args[tagIndex + 1];
|
|
61
|
-
if (!tag) {
|
|
62
|
-
console.error('❌ Error: Please specify a tag value');
|
|
63
|
-
process.exit(1);
|
|
64
|
-
}
|
|
65
|
-
console.log(`🏷️ Running tests with tag: ${tag}`);
|
|
66
|
-
const { runTestsByTag } = await import('../framework/core/test-discovery.js');
|
|
67
|
-
await runTestsByTag(tag, config);
|
|
68
|
-
process.exit(0);
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Handle test by priority
|
|
72
|
-
*/
|
|
73
|
-
export async function handleTestByPriority(args, config) {
|
|
74
|
-
const priorityIndex = args.indexOf('--priority');
|
|
75
|
-
const priority = args[priorityIndex + 1];
|
|
76
|
-
if (!priority) {
|
|
77
|
-
console.error('❌ Error: Please specify a priority value');
|
|
78
|
-
process.exit(1);
|
|
79
|
-
}
|
|
80
|
-
console.log(`🎯 Running tests with priority: ${priority}`);
|
|
81
|
-
const { runTestsByPriority } = await import('../framework/core/test-discovery.js');
|
|
82
|
-
await runTestsByPriority(priority, config);
|
|
83
|
-
process.exit(0);
|
|
84
|
-
}
|
|
85
55
|
/**
|
|
86
56
|
* Handle test command with different options
|
|
87
57
|
*/
|
|
88
|
-
export async function handleTestCommand(args, target, config) {
|
|
58
|
+
export async function handleTestCommand(args, target, config, options = {}) {
|
|
89
59
|
if (args.includes('--tag')) {
|
|
90
|
-
return handleTestByTag(args, config);
|
|
60
|
+
return handleTestByTag(args, config, options);
|
|
91
61
|
}
|
|
92
62
|
if (args.includes('--priority')) {
|
|
93
|
-
return handleTestByPriority(args, config);
|
|
63
|
+
return handleTestByPriority(args, config, options);
|
|
94
64
|
}
|
|
95
65
|
if (target === 'all') {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
await
|
|
66
|
+
const parallelInfo = options.parallel && options.parallel > 1 ? ` with ${options.parallel} workers` : '';
|
|
67
|
+
console.log(`🚀 Running all tests${parallelInfo}...`);
|
|
68
|
+
const { runAllTests } = await import('../framework/execution/discovery/cli-functions.js');
|
|
69
|
+
await runAllTests(config, options);
|
|
99
70
|
process.exit(0);
|
|
100
71
|
}
|
|
101
72
|
if (target) {
|
|
102
73
|
console.log(`🧪 Running test: ${target}`);
|
|
103
|
-
const { runSingleTestById } = await import('../framework/
|
|
74
|
+
const { runSingleTestById } = await import('../framework/execution/discovery/cli-functions.js');
|
|
104
75
|
await runSingleTestById(target, config);
|
|
105
76
|
process.exit(0);
|
|
106
77
|
}
|
|
@@ -149,4 +120,36 @@ export async function handleOpenCommand(subcommand, target) {
|
|
|
149
120
|
console.log('Use "endorphin help" for usage information');
|
|
150
121
|
process.exit(1);
|
|
151
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Handle test by tag command
|
|
125
|
+
*/
|
|
126
|
+
async function handleTestByTag(args, config, options = {}) {
|
|
127
|
+
const tagIndex = args.indexOf('--tag');
|
|
128
|
+
if (tagIndex === -1 || !args[tagIndex + 1]) {
|
|
129
|
+
console.error('❌ Error: --tag requires a tag value');
|
|
130
|
+
process.exit(1);
|
|
131
|
+
}
|
|
132
|
+
const tag = args[tagIndex + 1];
|
|
133
|
+
const parallelInfo = options.parallel && options.parallel > 1 ? ` with ${options.parallel} workers` : '';
|
|
134
|
+
console.log(`🏷️ Running tests with tag: ${tag}${parallelInfo}`);
|
|
135
|
+
const { runTestsByTag } = await import('../framework/execution/discovery/cli-functions.js');
|
|
136
|
+
await runTestsByTag(tag, config, options);
|
|
137
|
+
process.exit(0);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Handle test by priority command
|
|
141
|
+
*/
|
|
142
|
+
async function handleTestByPriority(args, config, options = {}) {
|
|
143
|
+
const priorityIndex = args.indexOf('--priority');
|
|
144
|
+
if (priorityIndex === -1 || !args[priorityIndex + 1]) {
|
|
145
|
+
console.error('❌ Error: --priority requires a priority value');
|
|
146
|
+
process.exit(1);
|
|
147
|
+
}
|
|
148
|
+
const priority = args[priorityIndex + 1];
|
|
149
|
+
const parallelInfo = options.parallel && options.parallel > 1 ? ` with ${options.parallel} workers` : '';
|
|
150
|
+
console.log(`🎯 Running tests with priority: ${priority}${parallelInfo}`);
|
|
151
|
+
const { runTestsByPriority } = await import('../framework/execution/discovery/cli-functions.js');
|
|
152
|
+
await runTestsByPriority(priority, config, options);
|
|
153
|
+
process.exit(0);
|
|
154
|
+
}
|
|
152
155
|
//# sourceMappingURL=cli-handlers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-handlers.js","sourceRoot":"","sources":["../../bin/cli-handlers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAClC,IAAc,EACd,WAAgC,EAChC,QAAoB;IAEpB,IACE,IAAI,CAAC,MAAM,KAAK,CAAC;QACjB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACvB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;QACnB,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EACrB,CAAC;QACD,QAAQ,EAAE,CAAC;QACX,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACtD,OAAO,CAAC,GAAG,CAAC,iBAAiB,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC;QACpD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,MAAuB;IAC7D,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACnC,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"cli-handlers.js","sourceRoot":"","sources":["../../bin/cli-handlers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAClC,IAAc,EACd,WAAgC,EAChC,QAAoB;IAEpB,IACE,IAA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AE,GAAG,MAAM,MAAM,CAAC,mDAAmD,CAAC,CAAC;IACjG,MAAM,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IACpD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endorphin.d.ts","sourceRoot":"","sources":["../../bin/endorphin.ts"],"names":[],"mappings":";AAEA;;GAEG;
|
|
1
|
+
{"version":3,"file":"endorphin.d.ts","sourceRoot":"","sources":["../../bin/endorphin.ts"],"names":[],"mappings":";AAEA;;GAEG;AAgOH;;GAEG;AACH,wBAAsB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAmF1C"}
|