Making it easier to test network client code by mocking LWP request()

By Jason Clifford from London.pm
Lightning talk
Target audience: Beginner
Language: English


I was recently part of a team writing a new client to a network service which required tests across multiple layers of client code.

We needed a simple way to mock an arbitrary number of responses from the service so our tests would validate our code rather than the network.

Last night I decided to write something similar but a little more configurable.


Attended by: David Dorward, Andrew Ford, Tony Edwardson, Merlyn Kline, Julien Fiegehenn (‎simbabque‎), Dave Cross (‎davorg‎), Michael Jemmeson (‎michael‎), John Harrison (‎JohnGH‎),

Sponsors

Corporate

Active Securities

antibodyMX

Bytemark Hosting

CV Library

Eligo

Evozon

Exonetric

magnum Solutions

Nestoria

Net-A-Porter Group

OpusVL

Petamem logo

Science Photo Library

Shadowcat
      Systems Limited

Community

Enlightened Perl Organisation

Perl6 Community

The Perl Foundation