unitcpp, how about

J

Johan

Hi,

Can somebody explain to me what are the benefits of using unit test for c++
( cppunit ). If I have a test program why do I have to write unit test
cases. The test program can have it's input from an input file, you can
specify more test data in the input file without recompiling the
testprogram. In case of a unit test you have to recompile the unit test. The
test program can be automated en have log facilities. So why do people use
unit tests ?

John
 
V

Victor Bazarov

Johan said:
Can somebody explain to me what are the benefits of using unit test for c++
( cppunit ). If I have a test program why do I have to write unit test
cases. The test program can have it's input from an input file, you can
specify more test data in the input file without recompiling the
testprogram. In case of a unit test you have to recompile the unit test. The
test program can be automated en have log facilities. So why do people use
unit tests ?

Is there a C++ _language_ question I am not seeing? The benefits of using
unit tests are not language-specific. You might find better luck talking
about unit tests in comp.software-eng or comp.software.extreme-programming
(although they have changed/extended the term to "Programmer Test" IIUIC).

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,298
Messages
2,571,541
Members
48,278
Latest member
OSWDelmar

Latest Threads

Top