Talk:Software testing
Todo:
- Example
- Test Creation Guidance
- Boost/Ctest to CppUnit for Simgear
- Building and running SimGear tests - what directory?
- Incomplete info on SimGear tests - Can't seem to find them.
Example and Test Creation Guidance
I'd like to see an example of a test being added to the test suite. I'm going to take a look at some of the tests around subsystems to see what I can learn from there, and maybe do an outline here on the talk page.
I want to know what developers would consider a good test.
Callahanp (talk) 22:02, 18 November 2022 (UTC)
SimGear to CppUnit
The current section on simgear reads:
The SimGear sources are checked via unit testing. This is implemented using the CMake CTest unit testing infrastructure. A number of tests are currently implemented using the BOOST unit testing infrastructure tied to the build system using CTest, however this should be avoided when writing tests as there is a shift towards eliminating BOOST by the FlightGear developers.
Building and running the SimGear tests
$ make
$ ctest
What would it take to make these tests similar to what is being done for Flightgear?
Callahanp (talk) 22:09, 18 November 2022 (UTC)
Building and running SimGear tests - what directory?
Where do you run the make for the simgear tests? For that matter where are the tests? Download_and_compile.sh doesn't seem to include them?