I'm just giving the first steps in the use of cppunit, and the CookBook, which is the only documentation I read so far, gave me instructions about how testing classes that produce some data output based on data input. But, in my case, the bigger interest is in finding a tool able to test methods that perform some operation, for example writing raw data straight to the sectors of a formated hard disk or compact flash card - actually this is my exact need at the moment.
If anyone could give help, point out documentation, or at least tell me that cppunit *is* able to do such a thing, even that would help already.
Very thanks in advance.
Germano
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How exactly would you test if this method works correctly? In other words, how can you determine if the method succeeded? Can you describe a test scenario in words? This might help you get started in implenting the test in CppUnit.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I'm just giving the first steps in the use of cppunit, and the CookBook, which is the only documentation I read so far, gave me instructions about how testing classes that produce some data output based on data input. But, in my case, the bigger interest is in finding a tool able to test methods that perform some operation, for example writing raw data straight to the sectors of a formated hard disk or compact flash card - actually this is my exact need at the moment.
If anyone could give help, point out documentation, or at least tell me that cppunit *is* able to do such a thing, even that would help already.
Very thanks in advance.
Germano
How exactly would you test if this method works correctly? In other words, how can you determine if the method succeeded? Can you describe a test scenario in words? This might help you get started in implenting the test in CppUnit.