Skip to main content

create-e2e-fixture

How to author a new e2e test fixture for cross-language test generation — fixture fields, assertion types, and id conventions. Load when adding or editing e2e fixtures consumed by the generator.

Quellinformationen

Repository
xberg-io/agent-conventions
Letzte Quellaktivität
20. August 2026 um 12:20
Erkannte Sprache von SKILL.md
Englisch
Sterne
8
Forks
2

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
create-e2e-fixture
description
How to author a new e2e test fixture for cross-language test generation — fixture fields, assertion types, and id conventions. Load when adding or editing e2e fixtures consumed by the generator.
# Create E2E Fixture ## Steps 1. **Identify the test case**: What behavior needs testing across language bindings? 1. **Choose category**: smoke, basic, parsing, edge-case, error-handling, or platform-specific. 1. **Write fixture JSON**: ```json { "id": "descriptive_snake_case_name", "category": "basic", "description": "Tests that X produces Y", "source_code": "input data or code", "assertions": { "tree_not_null": true, "expect_error": false }, "tags": ["regression"] } ``` 1. **Add to fixtures directory**: Place in appropriate category file or subdirectory. 1. **Regenerate**: Run `task e2e:generate`. 1. **Verify**: Run `task e2e:test` to confirm all languages pass. 1. **Commit**: Include fixture + regenerated test files in same commit. ## Guidelines - IDs must be unique across all fixture files - Include both positive and negative test cases - Add skip conditions for platform-specific behavior - Keep source_code minimal — test one thing per fixture
Auf GitHub ansehen