spatterson has asked for the wisdom of the Perl Monks concerning the following question:
I'm doing some test-driven development using Test::More, and have a few initial single-step tests but any following tests are at least 2 stages:
use Test::More; ok( my $google = Google::Auth->login(email => 'test@gmail.com', password => 'pass', service => 'cp'); my $contactlist = Google::ContactList->fetchall($google); );
Whats the correct way to create this type of test?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing multiple-stage tests
by Narveson (Chaplain) on May 07, 2010 at 03:47 UTC | |
|
Re: Writing multiple-stage tests
by ikegami (Patriarch) on May 07, 2010 at 05:26 UTC |