From b533aad21697de29e8d69d7bb99b0309f2114d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 21 Jan 2015 11:15:32 +0100 Subject: [PATCH] Unit tests are a must have for any changed code --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a0ebd7c2fc9..fcf2319f699 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -44,6 +44,10 @@ Before we're able to merge your code into the ownCloud core, you need to sign ou Please read the [Developer Manuals][devmanual] to learn how to create your first application or how to test the ownCloud code with PHPUnit. +In order to constantly increase the quality of our software we can no longer accept pull request which submit un-tested code. +It is a must have that changed and added code segments are unit tested. +In some areas unit testing is hard (aka almost impossible) as of today - in these areas refactoring WHILE fixing a bug is encouraged to enable unit testing. + [agreement]: http://owncloud.org/about/contributor-agreement/ [devmanual]: http://owncloud.org/dev