From 52788830181f57894ec260eb1350307401565a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 14 Jun 2005 12:18:18 +0000 Subject: [PATCH] =?UTF-8?q?unittest=20i=C3=A7in=20h=C4=B1zl=C4=B1=20bir=20?= =?UTF-8?q?uyar=C4=B1=20CODING'e=20eklendi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CODING | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/CODING b/src/CODING index 554cf70f..34c5ab49 100644 --- a/src/CODING +++ b/src/CODING @@ -43,3 +43,22 @@ The main rule of thumb in Demeter's Law is avoiding putting more than, say, 10 methods in a class. That works really well in practice, forcing refactoring every now and then. + +Unittests +--------- +Unittests are located in unittests directory. Running the tests are +trivial. But you must syncronize your code and data with the test +code, which can be a tedious work if you lose discipline. + +Sample data files are located in samples/ directory. + +For running all test suites, use the following command: + +$ ./unittests/run.py + +If you know what you are doing, you can run the tests seperately. But +keep in your mind that test can depend each other. The following +command will run tests in specfiletests and archivetests: + +$ ./unittests/run.py specfiletests archivetests +