Menu

how does testing in cppunit work?

Help
Anonymous
2003-07-17
2003-07-17
  • Anonymous

    Anonymous - 2003-07-17

    i just downloaded the cppunit 1.8 sourcefiles and compiled the examples-project!

    so i was able to see that cppunit works - but, how it works, i don't know jet...

    i started reading the documentation, but the information i wanted was not found!

    i need to know, how i can build test - you know - step by step... and what i have to do, that my test will be included in the TestRunner GUI! and where are the tests, that are included in the examples-project... you know, the ones that are in the browser of the examples prj. gui stuff!

    as you might see - english is not my mother tongue, what makes it not easyer to read the documentation!

    i hope anyone can help me, rock it, stradivari

     
    • Anonymous

      Anonymous - 2003-07-17

      oh, i just recognized that i have not mentioned that i am using the visual studio 6.0 - and by the way, i need a solution for visual for my problem!!!

      thx again, s.

       
    • Wolfgang Stoecher

      Search for "simple VS6 testproject" in this forum and you will find a message with title:
      RE: simple VS6 testproject
      This gives you the minimal setup for starting your own test application.

      Then add your own test classes as shown in the example. Make use of the C-Makros starting with CPPUNIT_, both in the header-files and the cpp-files. Note that for each actual test you have to implement a member function and also insert a corresponding Makro-line in the headerfile. This can be automated by VB-Makros in DevStudio, which also come along with the package.

      You will find out: it is very simple!

      Wolfgang

       

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.