Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve affected module detection #86

Merged
merged 8 commits into from
Dec 28, 2016
Merged

Conversation

zinserjan
Copy link
Owner

Improves the changed module detection algorithm:

  • respect code splitting (e.g. require.ensure)
  • run all tests that were affected by a file change (no need to run all tests until all tests are fixed)

other improvements:

  • support multiple output files (e.g. produced by multiple entry points or require.ensure)
  • clear require cache only for changed files
  • no longer inject changed files into the test bundle

@codecov-io
Copy link

codecov-io commented Dec 28, 2016

Current coverage is 86.93% (diff: 92.22%)

Merging #86 into master will increase coverage by 1.48%

@@             master        #86   diff @@
==========================================
  Files            18         19     +1   
  Lines           474        505    +31   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            405        439    +34   
+ Misses           69         66     -3   
  Partials          0          0          

Powered by Codecov. Last update 677d656...6448348

@zinserjan zinserjan merged commit 093f278 into master Dec 28, 2016
@zinserjan zinserjan deleted the affected-module-detection branch December 28, 2016 18:19
@zinserjan zinserjan mentioned this pull request Dec 28, 2016
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants