

Right click this new folder and select Import > General > File System > Next. Open this project and create a new folder inside, such as myimports. The Project name is M圜ppUnitStaticLibrary, its type is an empty Static Library, and the Toolchain is MinGW GCC.įor example File > New > C++ Project > Static Library > Empty Project > MinGW GCC > Finish. Open Eclipse then create a new C++ Project. OK, if you don't have any error, CppUnit is now configured for your system.

So, open MinGW and go until the directory where you put CppUnit, in our case:ĭon't be afraid, it may take at least 10 minutes for the 3 commands to be performed. If you installed MinGW without Make, you should also need the MSys, a brother of MinGW.

If you don't have it, check on my website, and follow instructions. So extract all the files on the directory of your choice, for example, I will put them in this one:Īt this point, you need at least a GNU tool for Windows, such as MinGW. No problem there, take it up from the official host website: Of course, we need the source of the CppUnit framework. Installation of CppUnit with Eclipse on Windows A.
Intall junit in eclipse for mac mac#
This installation will be done on Windows OS, I am sure if you are a Linux addict or a Mac fan, this explanation will help you as well. I hope it will be easy enough even for beginners, if not, do not hesitate to post a comment, I will help if I can. That's why I make this tutorial about CppUnit and Eclipse.
Intall junit in eclipse for mac how to#
It is a bit complex to know how to install CppUnit and how to use it with Eclipse.
