Skip to content

[Feature] Not exception but warning if some (not all) of the given test names are not found in suite files. #2897

@wenijinew

Description

@wenijinew

Now, when any of the test names are not found in suite files, TestNG will throw exception.
The test(s) <[TestA, TestB, TestC]> cannot be found in suite.

It's reasonable but not so friendly still. For example, if user provide 5 test names and 2 of them cannot be found in the suite files, other 3 tests could be still run.
In this case, it will give user good experience if TestNG print warning message to tell which tests cannot be found and print info message to tell which tests have been found and will be executed.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions