[Neo-report] r2660 olivier.cros - /trunk/TESTS.txt

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 14 11:42:31 CET 2011


Author: olivier.cros
Date: Mon Mar 14 11:42:31 2011
New Revision: 2660

Log:
Neo test coverage documentation

We add this doc file to explain how to check the progressing of neo
test suite(unit tests) and to know how to control which neo parts
had been tested and which had not.

Added:
    trunk/TESTS.txt   (with props)

Added: trunk/TESTS.txt
==============================================================================
--- trunk/TESTS.txt (added)
+++ trunk/TESTS.txt [iso-8859-1] Mon Mar 14 11:42:31 2011
@@ -0,0 +1,18 @@
+In order to check the test-coverage of Neo, we used the figleaf tool. The usage
+(for a complete neo test suite) is :
+
+Download and install figleaf : http://darcs.idyll.org/~t/projects/figleaf/doc/
+$ figleaf neotestrunner -u (it will generate a .figleaf file)
+$figleaf2html .figleaf (to convert .figleaf file in html pages)
+$firefox html/ (to read the results)
+
+Each one of the page contains Neo code, which the following colours :
+Green : Executed code during test suite
+Red : Unexecuted code
+Black : Comments and "unused" lines
+
+In order to check only needed neo file, you should specify the following options:
+figleaf -i : ignore python libraries
+figleaf2html -f : allows to specify a list of check-needed files
+For stats, you can also check the index.html page, which indicated which
+percentage of test-coverage.

Propchange: trunk/TESTS.txt
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Neo-report mailing list