
#define CATCH_CONFIG_RUNNER
#include <catch.hpp>

#include <ionCore.h>


int main(int argc, char * const argv[])
{
	int result = Catch::Session().run(argc, argv);

#ifdef WIN32
	ion::WaitForUser();
#endif

	return result;
}


#define CATCH_CONFIG_RUNNER
#include <catch.hpp>


int main(int argc, char * const argv[])
{
	int result = Catch::Session().run(argc, argv);

#ifdef WIN32
	system("PAUSE");
#endif

	return result;
}

--- 
+++ 
@@ -1,6 +1,8 @@
 
 #define CATCH_CONFIG_RUNNER
 #include <catch.hpp>
+
+#include <ionCore.h>
 
 
 int main(int argc, char * const argv[])
@@ -8,7 +10,7 @@
 	int result = Catch::Session().run(argc, argv);
 
 #ifdef WIN32
-	system("PAUSE");
+	ion::WaitForUser();
 #endif
 
 	return result;
[TestUnits] Use ionCore alternative to system("PAUSE")
