vc2010 native c++ code unit test

John Socha-Leialoha's Blog

Writing Unit Tests in Visual Studio for Native C++

November 19, 2010

https://blogs.msdn.microsoft.com/jsocha/2010/11/19/writing-unit-tests-in-visual-studio-for-native-c/

 

要建一個c++/cli的工程,還要建一個靜態庫(static library)工程,用.net的機制來測試native c++代碼,沒實踐過,看着有點複雜。

最好有c#的經驗。

vs2012引入了測試本地c++代碼的功能,也沒有試過。

打算還是試試boost test或google test吧。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章