Skip to content
mogemimi edited this page May 7, 2015 · 13 revisions

Prerequisites

Cloning unit testing framework

From the root of your engine directory, run:

git clone --depth=1 [email protected]:srz-zumix/iutest.git third-party/iutest

Running the tests

Building under Mac OSX and Xcode

To run all unit tests, use:

gyp build/unittest.gyp --depth=. -f xcode --generator-output=build.xcodefiles
xcodebuild -project build.xcodefiles/build/unittest.xcodeproj
build/build/Release/unittest

Building under Windows and MSVC2015+

To run all unit tests, use:

gyp build/unittest.gyp --depth=. -f msvs -G msvs_version=2015 --generator-output=build.msvs

(work in progres... 😱)