in reply to Re: starting to write automated tests
in thread starting to write automated tests
right now i'm stuck on *why* one of the Test::Simple tests is not returning the "status" message:
gives me:#!/usr/bin/perl use strict; use Test::Simple tests => 4; use ShopDB::AuthorizeCard; my $authCard = ShopDB::AuthorizeCard->new(); ok( defined( $authCard ), "new() successful" ); ok( ref $authCard eq 'ShopDB::AuthorizeCard', "blessed into right package" ); ok( defined( $authCard ) and ref $authCard eq 'ShopDB::AuthorizeCard', + "new() successful, blessed into right package" ); ok( $authCard->can( 'AuthorizeCard' ), "found the AuthorizeCard() method" );
test 3 is just a combination of tests one and two ... but i don't get the ok message back, and i don't get it.1..4 ok 1 - new() successful ok 2 - blessed into right package ok 3 ok 4 - found the AuthorizeCard() method
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: starting to write automated tests
by petdance (Parson) on Dec 28, 2004 at 22:44 UTC | |
|
Re^3: starting to write automated tests
by dragonchild (Archbishop) on Dec 28, 2004 at 17:43 UTC | |
by geektron (Curate) on Dec 28, 2004 at 17:47 UTC | |
|
Re^3: starting to write automated tests
by revdiablo (Prior) on Dec 28, 2004 at 18:19 UTC | |
by geektron (Curate) on Dec 28, 2004 at 23:16 UTC | |
|
Re^3: starting to write automated tests
by rir (Vicar) on Dec 28, 2004 at 20:40 UTC |