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 up
Before we ship v0.5.0, etcd must be well-tested. While there are many different levels of testing necessary, having the majority of the codebase covered with unit tests is a reasonable goal. Many of our packages are already well-tested, but as of b6b5081, many are still not well-tested:
There are a few packages here that we can omit from this requirement, such as the *pb and integration packages.
I'm proposing we aim for 80% code coverage (yes it's arbitrary, and higher is better) before we cut the release. This is a reasonable goal to aim for, and I guarantee that we will find bugs because of it.
Most packages reach the 80% test coverage. Here are some details about the ones that doesn't make that: