go2starr / CS-638-BWAPI

Starcraft: Broodwar AI bot
GNU Lesser General Public License v3.0
9 stars 7 forks source link

setup testing framework #26

Closed jmloethen closed 12 years ago

jmloethen commented 12 years ago

One possibility is using Google Test (GTest) and Google Mock (GMock). http://code.google.com/p/googletest/ http://code.google.com/p/googlemock/wiki/ForDummies

Using GTest with MSVS 2008: http://leefrancis.org/2010/11/17/google-test-gtest-setup-with-microsoft-visual-studio-2008-c/

Unfortunately, the add-in is not setup yet for 2008: http://googletestaddin.codeplex.com/

jmloethen commented 12 years ago

Behavior Driven Development tools: http://igloo-testing.org/ https://github.com/tpuronen/cppspec

jmloethen commented 12 years ago

Coverage tools:

http://blogs.msdn.com/b/jsocha/archive/2011/08/16/capturing-c-code-coverage-with-visual-c.aspx http://open-tube.com/10-code-coverage-tools-c-c/ http://blogs.msdn.com/b/cellfish/archive/2008/11/16/native-c-code-coverage-reports-using-visual-studio-2008-team-system.aspx

Visual Studio Team System 2008 Team Suite (90-day Trial): http://www.microsoft.com/download/en/details.aspx?id=12898

bploeckelman commented 12 years ago

GTest/Gmock in place for unit tests, VS Team Suit 2008 can run code coverage analysis.