Re: [Http-webtest-general] Re: perl objects in HTTP::WebTest
Brought to you by:
m_ilya,
richardanderson
From: Ilya M. <il...@ip...> - 2003-04-14 13:22:05
|
>>>>> "GF" == Gerry Finkel <ga...@cs...> writes: GF> Illya, GF> Sorry I haven't responded - I got sidetracked for a week. GF> I think it's good enough for me to know that this should be working; I GF> assume I just have a bug in my code. I'd rather not waste your time GF> trying to debug my code (although if you're interested, I'm quite GF> willing to mail it all to you). I'm curious, so, yes, please send it me. Though I don't promise anything :) GF> I hadn't looked into plugins yet. Perhaps that's the way I should be GF> going, since the more time I spend at this, the more code I write in the GF> on_response hook. I guess that's where I'll head now... Too much code in on_response hooks is definetely bad smell and moving it in plugins is definetely better idea. The reason is simple: plugins are ordinary Perl modules so it is easier to reuse and test this code. -- Ilya Martynov, il...@ip... CTO IPonWEB (UK) Ltd Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net Personal website - http://martynov.org |