squish-qatouch
v1.0.1
Published
QA Touch reporter for Squish (Froglogic/Qt) — auto-creates modules, test cases and test runs from Squish native XML or JUnit XML result files.
Maintainers
Readme
squish-qatouch
QA Touch reporter for Squish (Froglogic / Qt) — reads your Squish result XML and automatically creates modules, test cases, and test runs in QA Touch.
Supported result formats
| Format | How to generate |
|--------|----------------|
| Squish native XML | squishrunner --reportgen xml,results.xml |
| JUnit XML | squish2junit results/ junit.xml or --reportgen xml.junit,... |
Auto-detected at runtime by the root element.
Installation
npm install squish-qatouchNo peer dependencies — works standalone in any Node.js project.
Quick start
import { SquishQATouchReporter } from "squish-qatouch";
const reporter = new SquishQATouchReporter({
domain: "mycompany", // QA Touch domain
apiToken: "YOUR_API_TOKEN",
projectKey: "PROJ",
assignTo: "user-key",
resultsFile: "./results/squish.xml", // native XML or JUnit XML
milestoneName: "Sprint 12", // created if it does not exist
tag: "squish",
});
await reporter.run();Run it after squishrunner finishes:
npx ts-node upload-results.tsOptions
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| domain | string | — | Your QA Touch domain |
| apiToken | string | — | QA Touch API token |
| projectKey | string | — | QA Touch project key |
| assignTo | string | — | User key to assign the run to |
| resultsFile | string | — | Path to the Squish XML result file |
| testsuiteId | string? | — | Pin all cases to one module key (skips auto-create) |
| milestoneName | string? | "Squish Automation" | Milestone name — reused or created |
| milestoneKey | string? | — | Use an existing milestone key directly |
| createCases | boolean? | true | Auto-create missing test cases |
| tag | string? | "squish" | Tag applied to the test run |
CI example (GitHub Actions)
- name: Run Squish tests
run: squishrunner --testsuite suite_MyApp --reportgen xml,results/squish.xml
- name: Upload to QA Touch
run: npx ts-node upload-results.tsLicense
ISC
