Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd Test Coverage to All Modules #966
Comments
This comment has been minimized.
This comment has been minimized.
|
I don't see the value in code coverage tools. You can run them locally if you care, but they've never been helpful to me. |
This comment has been minimized.
This comment has been minimized.
|
I think there is pretty great value:
I'm curious what other contributors think about this. Test coverage is a pretty standard part of modern FOSS tooling so I was surprised that this stack didn't use it, especially considering how many projects are starting to depend on it, my own included. ¯_(ツ)_/¯ |
This comment has been minimized.
This comment has been minimized.
|
I think @Miserlou makes some good points. In any case, adding code coverage as part of CI doesn't seem like it would have any downsides (assuming a README badge and a PR comment/status don't count). @Miserlou, maybe you could use your fork to show what this might look like? That way there would be something more concrete to discuss. For example, I did this on another project at nvbn/thefuck#566 P.S. It looks like |
This comment has been minimized.
This comment has been minimized.
|
I like the idea, it adds more information. I don't see how it could impact negatively in any way. |
This comment has been minimized.
This comment has been minimized.
|
I don't have any immediate plans to work on this issue, so I'm going to close it. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
It looks like all of the modules in this stack don't have code coverage. This makes it difficult as a user/new contributor to see how well tested these modules are, and it makes it more difficult for you as maintainers to see if incoming pull requests are appropriately testing all the code paths that they may be introducing.
I use the
coverageandcoverallsservices on all of my projects and have found them quite useful. It seems that theistanbullibrary is kind of the go-to Node alternative here, but I think that anything would be better than nothing here.That being said, I understand if you have your own objections (ex, well covered != well integrated) about this and I can close this.
Just a suggestion that would be appreciated!