-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
What is the test coverage? #214
Comments
You can run AVA with the --verbose flag to list every tests when they are passed.
Or else you can look at the |
Thanks for the reply. I can list all tests that are passed, and there are 57 tests in total. But sadly, I still don't know the code coverage information of the test. (Some npm packages show their code coverage such as 94% or 100%.) |
You can run Though bigger question is: What causes your interest? It's easy to get a 100% test coverage, it's much harder to write tests that actually verifies the intended functionality. Highlighting code coverage isn't very useful and not a very good metric to eg. evaluate modules by. |
Cool! c8 works well. Thanks for the advice 🌹 I'm doing research about Software Analysis; I need to collect popular projects with high code coverage tests.😊 |
Such a cool discussion :) |
I ran the
npm run test
, and got a result of "57 tests passed". Is there any information about the radio on test coverage?The text was updated successfully, but these errors were encountered: