Skip to content
mogemimi edited this page Mar 28, 2015 · 13 revisions

Prerequisites

Cloning unit testing framework

From the root of your engine directory, run:

git clone [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=2013 --generator-output=./build.msvs/

(work in progres... 😱)