question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature: c8 --all

See original GitHub issue

nyc --all is widely used, an option for c8 to accomplish the same will be needed before many projects are willing to migrate.

Half crazy though: should all: true be the default, c8 --no-all to disable it?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
coreyfarrellcommented, Oct 22, 2019

I’m missing the benefit of being able to list files that were never loaded.

If we list the files that were never loaded, taking into account your exclude rules and not listing these files, than it’s indicative of the fact that you haven’t hit 100% coverage.

Sorry this comment was in the context of nyc which lists files that were never loaded as “0% covered”. What I meant is I don’t see the benefit for nyc to being able to list never loaded files separately from the files that were loaded when the details of what wasn’t covered is reported.

For c8 I can see it making sense to just count the number of lines in files that weren’t loaded and use that to alter the “% total lines” statistic, maybe even have a separate list of files that weren’t loaded at all. I think counting the total number of lines in the file as not covered is far more accurate than not counting the file.

1reaction
bcoecommented, Nov 28, 2019

@j03m thank you for the contribution 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

2021 Chevrolet Corvette C8 Specs | Mid-Engine Corvette
The 2021 Chevy Corvette C8 boasts an all-new 6.2L LT2 V8 engine, hitting 0 – 60 mph in just 2.9 seconds! Learn more...
Read more >
2020 Chevy Corvette C8: Colors, Trims, Options, and Features
The C8 will come in a dozen colors and six interior schemes, and it'll have options never before seen on a Corvette.
Read more >
Chevrolet Corvette (C8) - Wikipedia
The Chevrolet Corvette (C8) is the eighth generation of the Corvette sports car manufactured by American automobile manufacturer Chevrolet.
Read more >
2023 Chevrolet Corvette Review, Prices, Interior and Specs
The Chevy C8 Corvette: Everything We Know About the Powerful Mid-Engine Beast ... it's also the first to feature a mid-engine layout.
Read more >
2022 Corvette Stingray C8 | Custom Orders Available in ...
The C8 features a 6.2L LT2 V8 engine that can output up to 495 HP when ... If you are looking for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found