Code Monkey home page Code Monkey logo

npm-filter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

npm-filter's Issues

Verbose mode depends on running tests without any instrumentation

When running tests in "verbose" mode, I am modifying the command line for Jest so that the tests run in band. This is necessary in some execution environments for the tests to run at all (and not just hang). However, in verbose mode, NPM filter runs all of the tests twice: once without the instrumented command line and once with. Hence, it stalls on these configurations.

I guess that there are a few options here:

  1. Add the runInBand flag to the non-instrumented test run (is this even possible?)
  2. Save the information that is needed from the non-instrumented test run when building a container with NPMFilter. Then, when the tests are re-run in the container under different options, there is no need to do the initial non-instrumented test run.

I think that option (2) makes the most sense from a performance perspective - running all of the tests twice to collect the data once seems inefficient. I think that this is now off of my critical path for the next week or two - we will be missing some data as a result of this, but only for ~50 project-resource configurations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.