Skip to content

Unexpected breaking change in Test Runner in v21 #50219

@egoroof

Description

@egoroof

Version

v21.0.0

Platform

windows 11

Subsystem

No response

What steps will reproduce the bug?

As from official v20 documentation (Running tests from the command line) it was allowed to run tests in following command:

node --test custom_test_dir/

The test runner will recursively search the custom_test_dir/ directory for test files to execute.

But in v21 it is not working anymore:
image

Why is it a breaking change for stable API ?

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior? Why is that the expected behavior?

Stable API from official documentation should not be changed in every major version

What do you see instead?

see "What steps will reproduce the bug" chapter

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    test_runnerIssues and PRs related to the test runner subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions