qa:whattotest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
qa:whattotest [2008/05/07 13:05] – still need to fix double underscore zoeqa:whattotest [2008/05/07 13:10] – fixed double underscore zoe
Line 174: Line 174:
  
 ==== Script 3 ==== ==== Script 3 ====
-This script lists all the classes in PHP and then finds their methods using a ReflectionClass. Using essentially the same logic as the other two scripts teh code searches for tests that refer to these methods. The script is flawed in that many classes have methods of the same name (for example \_\_toString occurs in many classes), so looking for all tests that refer to \_\_toString will give a list of mainly irrelevant tests. Because of this I've excluded any method beginning "\_\_" from the search, even so, the results should be treated with care.+This script lists all the classes in PHP and then finds their methods using a ReflectionClass. Using essentially the same logic as the other two scripts teh code searches for tests that refer to these methods. The script is flawed in that many classes have methods of the same name (for example %%__toString%% occurs in many classes), so looking for all tests that refer to %%__toString%% will give a list of mainly irrelevant tests. Because of this I've excluded any method beginning "%%__%%" from the search, even so, the results should be treated with care.
  
 <code php> <code php>
qa/whattotest.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1