Add Language Generator
E2E test generation is handled by Alef. To add a new language:
Steps
- Add language to
alef.toml: Configure the new language under[e2e.languages.<lang>]with appropriate test framework, file extensions, and assertion patterns. - Add call overrides: If the language needs special call syntax, add
[e2e.call.<call_name>.languages.<lang>]overrides. - Generate and test: Run
task e2e:generatethentask e2e:testto verify the generated tests compile and pass. - Update CI matrix: Add the new language to the e2e test CI workflow.
Checklist
- Language configured in
alef.toml[e2e]section - Generated tests use language-idiomatic assertion patterns
- Skip conditions translate to language-native skip annotations
- CI runs generated tests on all supported platforms