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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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.