Menu

Regarding Aotomating the testing procedure

Help
2003-08-05
2003-08-06
  • Nikhil Satankar

    Nikhil Satankar - 2003-08-05

    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?

     
    • Tom Plunket

      Tom Plunket - 2003-08-05

      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.

       
    • Nikhil Satankar

      Nikhil Satankar - 2003-08-06

      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?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.