diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-05-31 16:26:56 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-05-31 16:26:56 +0100 |
commit | aaaab01b791be06be08e79c8f7a73b1fe16ecbf3 (patch) | |
tree | cfe319920d40de14533e0ed0080c6a3310498fca /README | |
parent | e15ce61386d7d38035a3fc54280a794d86c10281 (diff) | |
download | distix-aaaab01b791be06be08e79c8f7a73b1fe16ecbf3.tar.gz |
Document coding principles in README
Diffstat (limited to 'README')
-rw-r--r-- | README | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 -------- |