Changes between Version 9 and Version 10 of HowToSubmitAPatch
- Timestamp:
- 11/02/08 21:15:49 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToSubmitAPatch
v9 v10 74 74 = Test Cases = 75 75 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 78 76 Be 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. 79 77 … … 85 83 print 'x type =', x.getType 86 84 }}} 85 86 In 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. 87 87 88 88 After testing, if you make any small tweaks to your code, please run the test suite again. You never know what's going to break.