Hello Everybody,
Question
Can I automate the Testing procedure using the cppUnit frameWork?
For examp:
1.> I have a test data in an Xml file.
2.> If I add Test data to the Xml file , the Frame work should getnerate a test case and should give me result.
If not posible with cppunit , is it possible with any other frame work available?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are no built-in facilities to do that, but it shouldn't be terribly hard to do something yourself if you have an XML engine in place. I suppose, though, that it really depends on what you're trying to test.
Short answer- anything is possible because it's software and you're writing it. However, CppUnit does not have XML processing built-in.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Mr. Tom plunket,
Thanking you for the reply .I have some more explaination of my query.
1. Xml wrapper is already in place to parse the Xml data.
2 I think we can not add the Test cases dynamicaly to test in the cppUnit frame.If tomorrow I have a new function to test I have to add it to the TestApp and compile it to test func.
In short - Is it possible to add test cases dynamicaly in cpp FrameWork?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Everybody,
Question
Can I automate the Testing procedure using the cppUnit frameWork?
For examp:
1.> I have a test data in an Xml file.
2.> If I add Test data to the Xml file , the Frame work should getnerate a test case and should give me result.
If not posible with cppunit , is it possible with any other frame work available?
Well yes and no.
There are no built-in facilities to do that, but it shouldn't be terribly hard to do something yourself if you have an XML engine in place. I suppose, though, that it really depends on what you're trying to test.
Short answer- anything is possible because it's software and you're writing it. However, CppUnit does not have XML processing built-in.
Hello Mr. Tom plunket,
Thanking you for the reply .I have some more explaination of my query.
1. Xml wrapper is already in place to parse the Xml data.
2 I think we can not add the Test cases dynamicaly to test in the cppUnit frame.If tomorrow I have a new function to test I have to add it to the TestApp and compile it to test func.
In short - Is it possible to add test cases dynamicaly in cpp FrameWork?