Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: using Test::* modules for generic testing of non perl stuff?

by jplindstrom (Monsignor)
on Oct 16, 2004 at 14:10 UTC ( [id://399763]=note: print w/replies, xml ) Need Help??


in reply to using Test::* modules for generic testing of non perl stuff?

At work I have used Test::More and family to build a framework for unit testing an application server + business logic modules.

It involved making xml calls to the server and see that the correct values are returned, and that the database contents changes accordlingly.

For this I wrote a generic Perl client to call the application server, Test::More for the returned values and Test::DatabaseRow for testing the database. The rest looks like any ordinary .t script.

This iterative, low ceremony setup proved to be orders of magnitude more productive than writing unit tests in C++.

/J

  • Comment on Re: using Test::* modules for generic testing of non perl stuff?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://399763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-23 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found