cvs commit: jakarta-log4j/tests README

[email protected] 7 May 2002 20:30:21 -0000
Newsgroups gmane.comp.jakarta.log4j.cvs
Message-ID <[email protected]>
ceki        02/05/07 13:30:21

  Modified:    tests    README
  Log:
  A short description on adding a new test case.
  
  Revision  Changes    Path
  1.7       +15 -0     jakarta-log4j/tests/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/tests/README,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- README	16 Apr 2002 10:41:45 -0000	1.6
  +++ README	7 May 2002 20:30:21 -0000	1.7
  @@ -26,3 +26,18 @@
         this README file is located.
   ------------------------------------------------------------------------
   
  +Writing a new test case
  +=======================
  +
  +Our test cases are based on junit and you should be familiar with
  +junit in order to write new a test case.
  +
  +Some of the existing test are actually regression tests. They compare
  +the output of a test with the output of a previous run, a.k.a a
  +witness, which is purported to be correct. Since the ouput of some
  +tests vary on time and line numbers, before comparing the output with
  +a witness, we transform the output by unifying the result, for example
  +by removing date and time information.
  +
  +To automatically run your test case with the rest of the log4j test
  +cases, you need to modify tests/build.xml.