-
Notifications
You must be signed in to change notification settings - Fork 37
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
unit tests #2
Comments
This was partially implemented in #55 and is improved in #60, and should be a top priority behind improving user documentation. Benefits of testsTests are beneficial for new features, but also ensuring that existing code is maintainable.
Proposed contributor policiesWith the stated benefits in mind, we should identify some policies which will help ensure adequate testing going forward (see RFC2119 for definitions of capitalized terms).
With 1 we still allow contributions from developers who may not be proficient in test writing which keeps the barrier to contribution low. To comply with 2, maintainers can either write tests themselves before merging to stable or tutor developers on test writing. Policy 3 ensures that we avoid regressions at all times and IIRC GitHub has a built-in option to enforce this on "protected" branches. Ideally we would have some minimal documentation on how to write tests, but IMO that's low priority compared with end user documentation. These and any future policies can be documented in a |
We need some kind of unit tests to try out new code.
The text was updated successfully, but these errors were encountered: