Skip to content

EFI: Using Node.js core testing #184

Open
@sheplu

Description

@sheplu

Motivation

Some testing libraries (and ecosystem) are a lot less maintained that a few years ago, and relying on them can be an issue or a maintenance burden in the coming years. Using the default test runner from Node.js core (part of Node.js 20) would give us a few advantages that ranges from better performances to lower security risks from third party libraries.
Some features may not be available now, so this discussion may be pushed back (or waiting to only keep version that support the Node.js test ecosystem).

Expectation

Slowly move and use the test runner in all libraries

Implementation

Update Node.js version
Use test runner ecosystem (test library, assertion, runner, coverage...)

Status

Part: Technical
Status:

Draft

Node.js now provides a complete (or almost) test ecosystem, including runners and reporters. Using that part of the stack to replace external dependencies for tests would lower the number of dependencies and reduce the maintenance

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