Loading...
Loading...
Run tests from skill examples and generate a report (project)
npx skill4agent add umbraco/umbraco-cms-backoffice-skills umbraco-skill-test-runnercd .claude/skills/umbraco-skill-test-runner/scripts
npm install --silent
npx tsx run-tests.ts| Type | Description | Runner |
|---|---|---|
| Unit | Component tests with | Web Test Runner |
| Mocked | Integration tests against mocked backoffice | Playwright |
| E2E | Full end-to-end against real Umbraco | Playwright |
| Variable | Default | Description |
|---|---|---|
| - | Admin email for E2E authentication |
| - | Admin password for E2E authentication |
| | Umbraco instance URL |
./Umbraco-CMS.Skills/dotnet runtest-report.json{
"timestamp": "2024-12-26T12:00:00Z",
"umbracoStarted": true,
"summary": {
"total": 10,
"passed": 8,
"failed": 1,
"skipped": 1
},
"results": [
{
"example": "counter-dashboard",
"path": "plugins/umbraco-testing-skills/.../counter-dashboard",
"type": "unit",
"status": "passed",
"duration": 1234
}
]
}validate-skillsumbraco-skill-validatorumbraco-skill-code-analyzer