Googletest for Android NDK

后端 未结 4 1703
攒了一身酷
攒了一身酷 2021-02-12 14:01

I checked a previous answer about unit test for Android, where it is suggested Googletest as a good option. However, I got a look into the Google C++ Testing Framework - Googlet

4条回答
  •  Happy的楠姐
    2021-02-12 14:30

    GoogleTest is now distributed with the NDK (mainly because it's used by the NDK test suite itself).

    It's very easy to use in your own projects, see $NDK/sources/third_party/googletest/README.NDK for usage examples.

提交回复
热议问题