Coolskool : Kola Oyedeji's Cool Technology Blog

Search Box

 

Calendar

««Nov 2009»»
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
2930

My RSS Feeds








HTML Snippet

Hit Counter

Total: 803,380
since: 7 Nov 2003

Categorys

Testing Mach-II apps in production mode - in development

posted Wednesday, 14 February 2007

We recently had a bug which was difficult to pin down. Difficult because although it manifested itself in our testing environment and  we just couldn't reproduce it in development despite the codebase and data being the same. Turns out that as the testing environment uses the same mach-II setting as production and because listeners etc. are cached, the bug was down to something being held in the listener which basically shouldn’t have been. Once we enabled the production mode in on our development environment we were able to reproduce it. To be honest this should have been picked up in a code review. But the moral of the story is, it is worth testing locally in production mode as well.

links: digg this    del.icio.us    technorati    reddit