Hi Jochem, Some ideas:
Is reviewing and identifying error messages a fundamental requirement of the system? i.e. Do users need to see any error messages? Instead on relying on a system to generate debug messages for automated testing, you could look into mock objects. These are more reliable and require less involvement in the code. I am less a fan of numerically identifying and categorising errors, and more a fan of a heirarchy of throwable exceptions which can be caught and dealt with as necessary. Jevon On Mon, Sep 7, 2009 at 11:28 AM, Jochen Daum<[email protected]> wrote: > Hi all, > > I'm starting to build some automated testing scripts for my Sportcheck > project, which will involve testing if certain text messages sent into the > site result in text messages and emails out of the site. > > To do this, I want to establish a debug output switch in the site (password > protected), which allows me to do automated system testing. > > At the same time, I'm thinking of categorising error messages, notifications > and debug messages with numbers and ranges. The questions that float in my > mind are: > > - Is it worth having an error level, so far there is an informal way of > categorisation in the way of who they are shown to (User, Site Admin, System > Admin). I don't quite think there is a reason to check for some sort of > error level. By the way, we are reviewing all messages with simple GMail > searches. > > - Is there any point in numbering and identifying error messages. I think > there is minimal overlap of "reused" error messages. However, types of text > messages are already numbered as they are database referenced, so a start > has already been made. > > > Any other thoughts would be appreciated as well. > > > Kind Regards, > > Jochen Daum > > Chief Automation Officer > Automatem Ltd > > Phone: 09 630 3425 > Mobile: 021 567 853 > Email: [email protected] > Skype: jochendaum > Website: www.automatem.co.nz > http://twitter.com/automatem > http://www.xing.com/go/invite/3425509.181107 > > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
