Skip to content

Integrate ANTLR runtime tests #170

@lppedd

Description

@lppedd

Given we want to switch from Maven to Gradle in ANTLR 5, we could use this repository to experiment since it's already Gradle-based.

I had already started looking at how to do it in a multiplatform way.
There is a major issue into that: tests are created dynamically.

If my understanding is correct, what happens is the JUnit test factory uses test descriptors - a bunch of textual files containing various sections - to initialize grammars, inputs, and outputs for each test case.

kotlin.Test does not offer anything like that, but we could move to Kotest's test factories.
However at this time, Kotest does not support the wasmJs target, and its integration with the IDE is limited.

@ftomassetti @KvanTTT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions