@revved/split-tests

1.1.3 • Public • Published

split-tests

Command Line Args (all required)

split-tests [numberOfCiJobs] [jobIndexOffset] [folderToSearch]...
  • numberOfCiJobs: How many parallel test jobs are being used.
  • jobIndexOffset: Other non test parallel jobs can cause the job index to start higher than zero. Use this offset to account for that.
  • folderToSearch: Pass one or more relative folder paths to search for test files in. Search is recursive, so only the top level folder(s) are needed.

Example

Example for running 1/6 of the tests at a time, offsetting to account for one other job, and searching through two folders:

split-tests 6 -1 unit-tests e2e-tests

/@revved/split-tests/

    Package Sidebar

    Install

    npm i @revved/split-tests

    Weekly Downloads

    0

    Version

    1.1.3

    License

    ISC

    Unpacked Size

    291 kB

    Total Files

    5

    Last publish

    Collaborators

    • mfrr1118
    • addisonk