JSPM

  • Created
  • Published
  • Downloads 39597
  • Score
    100M100P100Q198282F
  • License MIT

Knapsack Pro Jest splits Jest tests across CI nodes and makes sure that tests will run in optimal time on each CI node.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@knapsack-pro/jest) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @knapsack-pro/jest

    Knapsack Pro

    Speed up your tests

    Run your 1-hour test suite in 2 minutes with optimal parallelisation on your existing CI infrastructure




    Knapsack Pro wraps Jest and works with your existing CI infrastructure to parallelize tests optimally:

    • Dynamically splits your tests based on up-to-date test execution data
    • Is designed from the ground up for CI and supports all of them
    • Tracks your CI builds to detect bottlenecks
    • Does not have access to your source code and collects minimal test data
    • Enables you to export historical metrics about your CI builds
    • Replaces local dependencies like Redis with an API and runs your tests regardless of network problems

    Installation

    See the docs to get started:

    Dependencies

    Contributing

    Follow the steps in the root README.md to set up the project.

    You can compile TypeScript in watch mode from the root folder with:

    npm start -w packages/jest

    Testing

    To test @knapsack-pro/jest against a real test suite we use:

    Publishing

    See Publishing in the root README.md.