Menu

Newbie questions

Anonymous
2001-05-31
2001-06-01
  • Anonymous

    Anonymous - 2001-05-31

    I am in a design/implementation class at school and our team needs unit testing for some c++ code, but im having a hard time finding out what compilers this CppUnit can actually work on. Our project uses Borland C++ 5.02 compiler with an existing code base and existing make file.

    1) Will CppUnit work with this compiler?
    2) I havnt made very many make files, in fact, not for a year or so. If our project has existing code and builds an executable, do I throw in the test case files using CppUnit inside this makefile or do I have to create a seperate makefile just for the testing. I could really use some examples or a link to better documentation.

    thanks.
    jm

     
    • Baptiste Lepilleur

      Unfortunately, at the current time, there is nobody in the team to port/maintain a version for Borland C++ 5.

      The core features should work if your compiler has the following features:
      - support for namespace
      - STL library within the std namespace

      I believe Unit Test should be in the project makefile, since you update/run them very often. Functionnal tests are another matter and it should be a policy decided by the team you're working with.

      You can find links about unit testing at:
      http://www.xprogramming.com/

      Hope this help,
      Baptiste.

       

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.