summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-05-31 16:26:56 +0100
committerLars Wirzenius <liw@liw.fi>2014-05-31 16:26:56 +0100
commitaaaab01b791be06be08e79c8f7a73b1fe16ecbf3 (patch)
treecfe319920d40de14533e0ed0080c6a3310498fca /README
parente15ce61386d7d38035a3fc54280a794d86c10281 (diff)
downloaddistix-aaaab01b791be06be08e79c8f7a73b1fe16ecbf3.tar.gz
Document coding principles in README
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 21 insertions, 0 deletions
diff --git a/README b/README
index 6ddf58e..9ce5a3b 100644
--- a/README
+++ b/README
@@ -24,6 +24,27 @@ To run the test suite:
You MUST successfully run the test suite before submitting patches.
+Coding principles
+-----------------
+
+The code of `distix` is meant to obey all of the below:
+
+* Code is clean and easy to understand.
+* Code is maintainable, easy to modify, and easy to debug.
+* There is no unnecessary code.
+* Code is correct.
+* All of the code is fully tested by unit tests, unless excplitly
+ makred outside of test coverage; all exceptions are justified in
+ code with a comment.
+* All non-interactive user and program interfaces are tested by
+ integration tests implemented with yarn. Testing of interactive user
+ interaces may rely on manual testing.
+
+Any failures to meet all of the above should be treated as bugs.
+
+Code should be developed using test driven development.
+
+
Legalese
--------