Skip to content

Test the REPL with the Scala 3 REPL rather than Ammonite #3210

Open
@Gedochao

Description

@Gedochao

Is your feature request related to a problem? Please describe.
We currently test a number of things in our REPL integration tests using Ammonite (see #3209).
As Scala CLI is closely tied with Scala 3 releases and Ammonite is maintained separately, we should uncouple these 2 things.
The way things are, it's hard to guess what works until there's an Ammonite version for a given Scala version ready (which sometimes happens late or not at all, like with Scala 3.4.0/3.4.1)

Describe the solution you'd like
We should test all repl sub-command features via the Scala 3 REPL rather than Ammonite REPL.
The only tests relying on Ammonite should be the ones testing the actual integration.

We should run all REPL tests for Scala 3 using the Scala 3 REPL, rather than Ammonite (except for the tests where we do, in fact, test whether the Ammonite integration works as expected).

Dependencies

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    AmmoniteDXDev experienceblocked upstreamIssues and changes blocked by something in an external project.enhancementNew feature or requestinternalInternal or build-related changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions