Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Automated regression testing

by Old_Gray_Bear (Bishop)
on Oct 13, 2006 at 16:48 UTC ( [id://578174]=note: print w/replies, xml ) Need Help??


in reply to Automated regression testing

If you haven't alerady, go take a look at "Perl Testing, A Developer's Notebook (Langworth & chromatic), particularly the last chapter ("Testing Everything Else"). There are several tools and tricks that can be applied to testing non-Perl code. Basically, you can treat your C++ as a black box, and wrap it in an eval-block. For a given stimulus, you have an expected response, that you can code for (by examining $@, any temporary files that get written, databases modified, etc.) in a Test::More test harness.

If this were me confronted with this project, I'd strongly consider going down the 'Test' path in parallel with the 'Automation' path. There will be enough cross-talk between the two to make this a very useful approach. The Test path will give you the means to determine and report your C++ code in action, which the Automation path can use to make go/stop and fix/nogo decisions.

----
I Go Back to Sleep, Now.

OGB

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-06-23 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.