The Unit Test Framework is flexible on how naming the test units (test cases/suites) and it is possible to use a wide variety of characters. However there are scenarios where the name of a test unit may collide with other and remote functionalities of the Unit Test Framework. For instance:
'/'(see this section for more details)
To prevent any conflicting declaration, the Unit Test Framework
sanitizes the name given to a test unit
(case or suite), prior to adding the test to the test tree. Any conflicting
character is replaced by an underscore
Spaces are not considered as special chars and are preserved, except for the leading and trailing spaces which are removed.
The sanitization of the test unit names has been introduced in Boost 1.67.