From grail at goldweb.com.au Mon May 9 17:47:21 2011 From: grail at goldweb.com.au (Alex Satrapa) Date: Tue, 10 May 2011 10:47:21 +1000 Subject: [Canberra-pm] [clug] May CLUG Programmers' Special Interest Group meeting In-Reply-To: <201105092200.p49M020C021214@daedalus.andrew.net.au> References: <201105092200.p49M020C021214@daedalus.andrew.net.au> Message-ID: On 10/05/2011, at 08:00 , Paul Wayper wrote: > CLUG Programmers' Special Interest Group Meeting - 12th May 2011 > ================================================================ > > Date: 12th May 2011 (Second Thursday of the month) > > Time: 19:00 - 21:00 (or when it finishes) > > Currently there are no talks scheduled. Would anyone like to volunteer? Would anyone be interested in having a Perl unit testing "BOF" session? I'm including the canberra-pm list in case anyone on there isn't on the CLUG list and might be interested in having a natter about Perl testing (at relatively short notice). I don't profess to be a Perl or testing expert by any means, so for me to give a "talk" would be the blind leading the blind. What I *do* have experience with is: - basic unit testing using Test::More - testing shell scripts using Test::Cmd - employing Test::MockObject to fake interaction with the outside world - applying TDD (or BDD) to Perl projects - wrapping this all together under Module::Build To which end I could easily fill a half hour describing how I assemble a Perl project using Module::Build, employ Test (or Behaviour) Driven Development, and end up with a package that can be installed on a target system. I don't use Module::Build properly either, but I figure that having other Perlistas around might help to clarify my thinking. If we do go ahead with this, I'd ask that people coming along bring a favourite Perl project with them so we can try to implement some real & useful tests during the remainder of the PSIG session. Alex From paulway at mabula.net Wed May 11 04:55:17 2011 From: paulway at mabula.net (Paul Wayper) Date: Wed, 11 May 2011 21:55:17 +1000 Subject: [Canberra-pm] [clug] May CLUG Programmers' Special Interest Group meeting In-Reply-To: References: <201105092200.p49M020C021214@daedalus.andrew.net.au> Message-ID: <4DCA7925.3070507@mabula.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/10/2011 10:47 AM, Alex Satrapa wrote: > On 10/05/2011, at 08:00 , Paul Wayper wrote: > >> CLUG Programmers' Special Interest Group Meeting - 12th May 2011 >> ================================================================ >> >> Date: 12th May 2011 (Second Thursday of the month) >> >> Time: 19:00 - 21:00 (or when it finishes) >> >> Currently there are no talks scheduled. Would anyone like to volunteer? > > Would anyone be interested in having a Perl unit testing "BOF" session? I'm including the canberra-pm list in case anyone on there isn't on the CLUG list and might be interested in having a natter about Perl testing (at relatively short notice). Sounds good to me - thanks for that Alex! Please, people - I rely on people to let me know what they'd like to speak about. I try to find people who are doing interesting things or who are knowledgeable about certain topics, but my network is small compared to your combined knowledge. I cannot know if there's some expert out there who'd be able to give a talk on their favourite topic, and I can only find this information out to a limited extent. I am not a mindreader, and I will not spam random people hoping to find one of these closeted experts. Please do not email me with what you want to hear about, unless you are also holding in front of you the person who you'd like to speak about it. I myself can think of arbitrary quantities of topics that I think would be absolutely awesome for the CLUG to hear about, but with no-one volunteering to give these talks these ideas are worthless. I'd much rather have someone volunteer to talk and be given a topic, than be given a topic and have no-one to talk about it. I know everyone at this point also stares at their toes and mumbles something about not knowing very much. This is, in fact, untrue. You probably know plenty - you just think it's all common knowledge, or too trivial to be worth talking about. This is, again, untrue. What you think trivial is someone else's new discovery. I'm volunteering to do a talk for the June CLUG meeting on the boot process. I'm no expert on it, but I know enough to help other people - and in turn I'm expecting to have other people teach me the bits I miss. Presenting at CLUG meetings is an excellent chance to teach the community, improve your presentation skills, and learn new things in the process. Please, please, email me to present on something! Thanks in advance, Paul -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk3KeSUACgkQu7W0U8VsXYLqYQCeJ12Y0vOx0cNlOdsc3b5c3ZN3 j/MAn11rcpSJYyH2ytgBgGLb7a87G66E =6Xfg -----END PGP SIGNATURE----- From grail at goldweb.com.au Mon May 30 20:09:58 2011 From: grail at goldweb.com.au (Alex Satrapa) Date: Tue, 31 May 2011 13:09:58 +1000 Subject: [Canberra-pm] Perl Integration Testing Message-ID: <3F9514B2-4850-4799-ABAD-A15924B67867@goldweb.com.au> Does anyone have some references or suggestions on performing integration tests of complex web applications? I have been trying to rest a web app which needs to communicate with external services (presented through SOAP, telnet, etc), so along the way I have set up standalone applications to act as dummies (eg: CGI under Apache to emulate SOAP). I already use Test::More, T::MockObject, T::Cmd and friends to unit test libraries and test simple command line tools. Now I need the command line tools to connect to network services (and verify that exactly these interactions occurred), and I want to run a HTTP service serving my Mason pages to these tools. I'd love to hear how other people have achieved a portable integration test system! Alex Satrapa | web.mac.com/alexsatrapa | Ph: 0407 705 332