Menu

cppunit

2008-06-14
2012-09-26
  • helen chang

    helen chang - 2008-06-14

    Hi, I am wonder if it's able to install cppunit on dev c++.
    If so, please can someone tell me step by step how to implement it.
    I am really new at c++ ><"

    Thanks so much.

     
    • cpns

      cpns - 2008-06-15

      Always if it is a third party tool, include a link to it. Don't just assume we know what you are talking about.

      I guess you are referring to http://cppunit.sourceforge.net/cgi-bin/moin.cgi

      If you are new to C++, are you not a bit far away from unit testing yet?

      Dev-C++ is merely an IDE for GCC (and is usually used with MinGW/GCC). If you need to build CppUnit, then follow the instructions for MinGW/MSYS http://cppunit.sourceforge.net/cgi-bin/moin.cgi/BuildingCppUnit1#head-2ef02f9a8e58f1cbc408d794f8f5638bebbaf435 . Dev-C++ does not include MSYS, you can get it from www.mingw.org.

      I have never used CppUnit, but once you have a MinGW build you link the library (libcppunit.a I guess) to your application.

      Clifford

       

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.