在Qt的官方手册中看到了4种Qt测试框架: Qt Test framework, Google C++ Testing Framework, Boost.Test, and Catch2 test framework.(https://doc.qt.io/qtcreator/creator-autotest.html)
在Qt Creator的"帮助"->"插件"中找到了Auto Test,把它选中后,重启软件.打卡一个项目,它的左侧导航Tests选项下只有"Auto Tests","Qt Quick Tests"和"Google Tests"这3种.其他的两个搞半天也没有搞出来.先凑合用吧.单元测试不在乎用哪个框架,重点是真的去做.