hi,
I continued to work on the unit tests. I got the user class and the game_session class out of the way. They were the biggest classes and it should go much easier from here. One thing that's a bit of a problem for me is that although i can test the classes pretty easy, i cannot really test the files that instantiate the classes in the code. For example someone does a hack, i have an ajax call to a file that instantiates the classes and launches the hack action. That file i cannot really cover with tests. I'll have to see about this tomorrow

regards
vlad

_______________________________________________
Farsides mailing list - [email protected]

Wiki:  http://farsides.com/
List:  http://farsides.com/ml/
Forum: http://farsides.com/forum/
Ideas: http://farsides.com/ideas/
Chat:  http://farsides.com/chat/

Reply via email to