Version 2 (modified by landauf, 9 years ago) (diff) |
---|
General
gtest is a library used to write unit tests in Orxonox. It can be combined with gmock.
Links
- Homepage: https://github.com/google/googletest
- gtest Documentation: https://github.com/google/googletest/blob/master/googletest/docs/Documentation.md
- gmock Documentation: https://github.com/google/googletest/blob/master/googlemock/docs/Documentation.md
Usage in Orxonox
gtest and gmock are included as external sources in the orxonox repository. They are automatically built and linked if the unit tests are built.
Tips
To disable a test, add the DISABLED_ its name.