Create a test coverage sort of "epic" to increase the test coverage on different packages #5648
pacyL2K19
started this conversation in
Engineering vision
Replies: 1 comment
-
@pacyL2K19 You are completely right. Adding tests to the server is on our top tier priority list. It's not easy to do because of our flexible schema. The current guideline is that all utils should be tested. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the test coverage on multiple packages is low coverage, this could lead to some PRs breaking currently working features or introducing but without a clear record on the root that led to the bug.
For example, measuring the coverage on the
twenty-server
package, one can clearly see that many files are missing tests or having less test coverage (see the screenshot below)Here is the
collectCoverageFrom
array used for the above screenshot:In other packages, one can see that many components (modules) miss test files
According to the Linux Foundation's Recommended Practices for Hosting and Managing Open Source Projects on GitHub repport,
Continuous Testing and Integration
is one of the core open source principle that helps maintain a good collaborative work flow, is this something that we can work on in the future? As the project grows with time, this task can become time consuming to implement, so the sooner we implement it the better (I mean, if this is something is considered to be part of the workflow :))This epic would consist on these steps:
coverageThreshold
as the coverage growsKindly let me know if this is something that the maintainer's team considers implementing, I can help create sub-issues for each packages gradually with more details on each
@charlesBochet @FelixMalfait @thaisguigon @Bonapara
Beta Was this translation helpful? Give feedback.
All reactions