Skip to content

[Tests] Rewrite test runner in parallel & async way #825

@MaxGraey

Description

@MaxGraey

Currently most test routines run synchronously. But number of tests and files continiusly growing and this could be a problem in future.

Proposed steps:

  1. glob.sync -> await glob after util.promisify or use tiny-glob / globby
    2) Switch from WebAssembly.Instance +WebAssembly.Module to WebAssembly.instantiateStreaming for instantiation.
  2. fs.readFileSync -> fs.readFile, fs.writeFileSync -> fs.writeFile
  3. spawn/fork process for each separate test (?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions