Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove the now useless unit_test_framework
[simgrid.git] / doc / doxygen / inside_tests.doc
index 9d6d324..48756cc 100644 (file)
@@ -58,9 +58,9 @@ make testall                    # Rebuild the test runner on need
 @section inside_tests_add_units Adding unit tests
 
 @warning this section is outdated. New unit tests should be written
-using the unit_test_framework component of Boost. There is no such
-example so far in our codebase, but that's definitely the way to go
-for the future. STOP USING XBT.
+using the Catch2 library, that is included in the source tree. Please
+check for examples, listed at the end of tools/cmake/Tests.cmake.
+STOP USING XBT.
 
 If you want to test a specific function or set of functions, you need
 a unit test. Edit the file tools/cmake/UnitTesting.cmake to
@@ -227,7 +227,7 @@ ADD_TEST(my-test-name ${CMAKE_BINARY_DIR}/bin/tesh
          --setenv bindir=${CMAKE_BINARY_DIR}/examples/my-test/
          --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/my-test/
          --cd ${CMAKE_HOME_DIRECTORY}/examples/my-test/
-         ${CMAKE_HOME_DIRECTORY}/examples/msg/io/io.tesh
+         ${CMAKE_HOME_DIRECTORY}/examples/deprecated/msg/io/io.tesh
 )
 @endverbatim