Skip to content

E2E runtime behavior tests #28

@ArcadeMode

Description

@ArcadeMode

Code generation is decently tested in the unit tests, to validate that it indeed compiles and more importantly works as expected, a simple e2e suite would be very useful. Especially for PR validation and during development.

Requirements

  • integrated in PR workflows

Core idea

Make a simple npm project with a bunch of pages. Every page, i.e. every url, is effectively a test.

Page is blank but performs some feature like:

  • call method get int
  • call method get class instance
  • pass class instance to dotnet
    Etc

If the operation was successful, print OK.

  • Blank page = fail
  • OK = pass.

Candidate tooling

  • Aspire if compatible with the vanilla webassembly sdk
  • launch project separately, run tests against it. (Low tooling, poor ergonomics)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions