Skip to content

Support excluding tests by path #2503

Open
@DanTup

Description

@DanTup

In analysis_server, there are integration tests in test/integration/.

I thought I would be able to run a command like dart test test --exclude-paths test/integration but it seems there's no option for excluding paths, only tags. While it's possible to add tags to all of the integration tests, this seems both error-prone (without a script to enforce) and redundant.

It would be nice to be able to exclude by path.

(it would also be nice to be able to use a different concurrency for this sub-folder, so those tests run in isolation while the others run at once, without having to use multiple dart test processes, but I don't know if that request is way too niche!?)

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