Skip to content

Parallel and serial test running in one command #1107

@kostia-official

Description

@kostia-official

Hello. Currently I'm running tests with using this npm scripts:

    "ava": "npm run ava:serial && npm run ava:parallel",
    "ava:serial": "NODE_ENV=test ava -vs test/*.test.serial.js",
    "ava:parallel": "NODE_ENV=test ava -v test/*.test.js",

Some tests I can run parallel and some test I can't. What about parsing serial string in file name and run them serially? It would be great, because my approach is not too fast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions