apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/test README
Date Sun, 22 Sep 2002 22:26:23 GMT
rbb         2002/09/22 15:26:23

  Modified:    test     README
  Log:
  Add more information about writing valid tests.
  
  Revision  Changes    Path
  1.2       +2 -0      apr/test/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/apr/test/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README	16 Sep 2002 01:53:08 -0000	1.1
  +++ README	22 Sep 2002 22:26:23 -0000	1.2
  @@ -185,6 +185,8 @@
   a problem.
   3)  Functions should be tested with both positive and negative tests.  This
   means that you should test things that should both succeed and fail.
  +4)  Just checking the return code does _NOT_ make a useful test.  You must
  +check to determine that the test actually did what you expected it to do.
   
   An example test
   ---------------
  
  
  

Mime
View raw message