Page 1 of 1

C/C++ Unit Test's for hMailServer

Posted: 2019-08-04 21:22
by Dravion
This Topic will discuss hMailServers ongoing Unit Test procedures

For more informations about Unit Tests read:

Goals of Unit Testing
*Unit testing improves the quality of the code; it identifies every defect which may have aroused, before code is sent further for integration testing.
*Since the bugs are found early in unit testing, it helps reducing the effort of later bug fixing.
*Unit Testing provides a basic Documentation for Developers to learn the code and understand the inner workings.

Popular Unit Test Frameworks

Google Test (stand alone, independent Unit Testing System

Boost Test (comes with BOOST) ... index.html

Stackoverflow discussion Google Test vs. BOOST Tests ... -framework

Re: C/C++ Unit Test's for hMailServer

Posted: 2019-08-05 11:25
by martin
From what I've read Google Test seems to be the easiest to use, and it has a permissive license s i think we should try that one. I think we should just implement this on the master-branch and not in previous versions.

Re: C/C++ Unit Test's for hMailServer

Posted: 2019-08-05 12:10
by Dravion
Ok, i will start as soon as you pushed your latest comits to the master branch.