Wiki

Changes between Version 9 and Version 10 of HowToSubmitAPatch

Show
Ignore:
Timestamp:
11/02/08 21:15:49 (15 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToSubmitAPatch

    v9 v10  
    7474= Test Cases = 
    7575 
    76 In test cases, put the "# .error." or the "# .warning." on the same line that it goes with. You'll see that many tests put these at the very top, but that was the old approach before the automated testing supported the current approach: on the same line. 
    77  
    7876Be sure to add or update tests found in the Tests directory next door to the Source directory. You may wish to run the test suite ''before'' making your changes in order to see if there are any failures independent of them. You must run the test suite after your final changes to be sure nothing has been broken by them. 
    7977 
     
    8583print 'x type =', x.getType 
    8684}}} 
     85 
     86In test cases that should cause errors or warnings, put the "# .error." or the "# .warning." on the same line that it goes with. You'll see that many tests put these at the very top, but that was the old approach before the automated testing supported the current approach: on the same line. 
    8787 
    8888After testing, if you make any small tweaks to your code, please run the test suite again. You never know what's going to break.