C++test's primary working unit is an Eclipse project: specifically, a CDT project. This is important because CDT provides two basic project configurations as well as two creation modes:
C++test projects must be properly configured. Even if you think that your project's default configuration is correct, you should always review/adjust its initial C++test settings after project creation in order to prevent problems. For more information about C++test project properties, including instructions for how to access them, see Reviewing and Modifying Settings.
C++test uses the term "options source" to specify the source from which C++test primarily obtains the compilation and linking options for every tested file, as well as the list of tested sources and any other required/useful information. During project configuration, the options source is typically the first setting specified, since other C++test project properties depend on it. We say that C++test projects are based on the option sources used; e.g., when we speak of a Makefile-based project, we mean that it's configured to use a Makefile as the options source.
Two option sources are useful when testing for Tornado:
There are two ways to create C++test projects suited for testing with Tornado:
Manually: You manually create Makefile- or "Tornado project file"-based projects(see Creating Projects Manually).
After projects are created, you should:
Ensure that the project includes source files to test. If you used the Tornado project import wizard, then the appropriate source directories are typically linked automatically. If you created these projects manually, then you must manually add the sources(for instructions, see step 2 of Using an External Location as the Project Location).