id summary reporter owner description type status priority milestone component version resolution keywords cc i_links o_links 311 Setting up CTest environment bknecht nobody "== CTest == Since we use CMake as building system it is maybe a good idea to use CTest for unit testing. All large project have got unit tests to assure a code change has not broken any functionality in the existing code. While compiling with CMake CTest will test if all unit tests succeeded and report any broken functionality immediately. This is vital to have bug free code and no mess. As the Orxonox code gets clearer and we introduce less hacks, testing proper functionality should be the next step. Unfortunately writing unit test will take a lot of time and every developer will have to do this. Since it is used anyway by all larger projects, this seems to be worth doing despite the loss of time. == Task == This task is to set up the CTest environment (which includes the Dashboard of course) and to test it with some unit tests. Documentation on how to write unit tests and maybe even a small presentation for the developers about unit testing as this is a great-to-know thing (if not a must know) for a developer in the industry. Start with the CTest documentation [http://www.cmake.org/Wiki/CMake_Testing_With_CTest here]." task closed major Version 0.3 Codename: Castor Cmake fixed CMake, CTest, unit test