Re: [Phphtmllib-devel] nother file
Status: Beta
Brought to you by:
hemna
From: Walter A. B. I. <wab...@3g...> - 2004-03-08 20:51:16
|
Quoting Culley Harrelson <cu...@fa...>: > > Ok this sounds good. Go ahead and check it into SECURITY. Should=20 > > probably > > update the README and INSTALL files to discuss this file. > > >=20 > I'll get this set up. ---awesome thanks! > I don't mind writing examples-- as I learn a new portion of the API=20 > writing an example helps make everything stick in my mind. It might=20 > also help in the long run for testing. Initially I thought developing=20 > test cases would be the way to go but writing test cases for UI code is= =20 > kind of difficult-- ultimately it needs to look right. The new web=20 > testing stuff built into Simple Test=20 > (http://www.lastcraft.com/web_tester_documentation.php) might be=20 > useful-- build up test cases for each of the examples... another some=20 > day project. ---I have started some PHPUnit tests that live in the test directory. I'= ve thought about adding more tests there. Like you said though, its hard to validate html in one respect, because it's mostly about how it looks. On= the other hand, if we have widgets that output a known html block, then we co= uld test against that string. This might suck though in the long run, becaus= e if we change the resulting html output, then the unit test will fail. =20 Walt |