Re: stop! .. time for unit tests
Lukas Kahwe Smith <[email protected]> Tue, 23 Aug 2005 18:51:24 +0200
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
I think the best way to approach this is to go at it in simple steps. Writing out all necessary unit tests in one go is going to be fairly depressing. So we should try and come up with a set of core tests for the client and admin part. For the admin part we should probably be able to fairly quickly cover the key aspects of the LiveUser_Admin class and then maybe the storage layer (with a bunch of different param configurations). That should make us pretty solid over there. Maybe add some testing in regards to the recursive handling of subgroups and implied rights. For the client we should be able to test the basic object creation again. beyond login procedure, if the status is set etc. we also need to check if rights and group checks work. finally we need to check if the session management and remember me cookie works. regards, Lukas