JanssenProject / JanssenProject/jans

test(agama): add semantic/codegen coverage for the Agama transpiler

Open
#14,414 0 comments 0 reactions 1 assignee Claimed by @imran-ishaq View on GitHub
area-CI comp-agama enhancement kind-feature
Dominant language
Java
Stars
648
Forks
174
Avg merge
1d 18h
Merged PRs (30d)
110

Description

**Is your feature request related to a problem? Please describe.**
The Agama transpiler tests currently validate only DSL syntax (valid vs. malformed flows). There is no test asserting
that a successful transpilation produces the expected output — function name, declared inputs, timeout, and generated
JavaScript — so regressions in code generation or header parsing could go unnoticed.

**Describe the solution you'd like**
Add a test that transpiles representative flows and asserts the TranspilationResult: the generated function name, the
parsed Inputs, the parsed Timeout (including its absence), and that the generated code declares the flow function.
Register it in the module's TestNG suite so it runs in CI.

**Describe alternatives you've considered**
Relying on syntax-only tests — rejected: they don't catch code-generation or header-parsing regressions.

**Additional context**
First step of an effort to add the missing runtime/semantic test coverage to the Agama subsystem

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.