On Tue, 29 Jul 2003 18:25:10 +0200 (CEST) Robert Vazan <[EMAIL PROTECTED]> wrote:
RV> I want to work on filters and I need to test everything properly. You sure RV> need test environment too and I would like to hear about you RV> experience/opinions. I just do "mv ~/.M ~/.M-30.07.03" before starting to test. Under Windows I do the same using "reg copy". RV> Here is a list of problems I foresee. RV> RV> * GlobalDir configuration entry seems to be the only thing that must be RV> changed when switching between installations. Hmm, no, under Unix MP_USERDIR is always used as well (under Windows you can use only GlobalDir). RV> Could this be compiled into RV> executable instead? The variable would still exist, but it would have RV> default that is not stored. This could surely be done. As usual, the full customization would be to have (in order of priorty): 1. command line option to change it (--global-dir=xxx) 2. env variable (M_PREFIX or M_GLOBAL_DIR) 3. built in default RV> * Is it possible to have multiple .M directories? Not right now but it could surely be done in the same way as above, i.e. --user-dir=yyy. Or you can do it even now by using a tiny wrapper script moving the directories around (what I do manually...). This would be a dirty hack, of course. RV> * Do you run any localhost servers? I run all servers on the LAN. RV> It would be useful to test complete Smtp/Pop3 roundtrip and address RV> matching. Do you think it is possible to have addresses under multiple RV> domains? Sorry, I didn't quite follow this? RV> * Did anybody try to write automated test suite? In Filters.cpp there were some tests. Unfortunately we never had time to use a real testing framework like CppUnit. It would surely be useful even if it works for non GUI stuff only. RV> * Is it possible to emulate user actions (at Gui level, not mouse/keyboard RV> level)? Automating user interface requires a trick with event loop to RV> prevent displaying/flickering. Would asynchronous operations prevent the RV> test from running inside single event? This is a difficult task. We never found anything which would work for wxWindows. It doesn't mean it doesn't exist but it does mean that I can't help you here. Regards, VZ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
