16 Commits

Author SHA1 Message Date
Ari Lazier
08a84bd8e9 cleanup scheme and target names 2015-10-21 19:20:45 -07:00
Scott Kyle
7acd4d89c1 Update ReactTests project to React Native 0.13.0-rc 2015-10-21 13:57:34 -07:00
Ari Lazier
cfd618db32 flag to create jscontext 2015-10-19 11:28:50 -07:00
Scott Kyle
5d59431860 Fix crash when a test fails inside RealmReactTests
This also appears to fix crashes when running ReactTests with Chrome debugging enabled!

The crash when tests failed was due to JavaScriptCore trying to create a backtrace with the native call stack.
2015-10-15 16:18:58 -07:00
Scott Kyle
7f5902b021 Remove dependency on JavaScriptCore for RealmReactTests
The test structure is now provided by a JS API, that is used by all things that run tests. Also, the tests can be run manually by tapping a button in the ReactTests app.
2015-10-15 15:19:59 -07:00
Scott Kyle
7a79ac8803 Make Xcode tests run in React environment
The deleteTestFiles() function is now added to the Realm object, so that it's easy for the RPC module to handle this as well. We can only do this in testing environments in the future.
2015-10-15 03:26:56 -07:00
Ari Lazier
7b5be78df2 close to working test harness 2015-10-14 18:52:55 -07:00
Ari Lazier
d0787e36bb remove android project 2015-10-14 15:19:44 -07:00
Ari Lazier
2384f2cf9b catch errors thrown from tests and display error information 2015-10-14 15:15:44 -07:00
Scott Kyle
39b262b279 Each test can now have a beforeEach and afterEach 2015-10-14 15:02:19 -07:00
Scott Kyle
3f3710339f Update ReactTests to re-install local NPM modules 2015-10-08 16:02:54 -07:00
Scott Kyle
c1fa635183 Update ReactTests for iOS 8.0 deployment target
Needs this to link to GCDWebServer.
2015-10-08 16:02:36 -07:00
Scott Kyle
db80c3a89a Refactor tests to run again inside Xcode
Added a CommonJS module loader that is used by XCTestCase subclass to load and run the tests.
2015-10-08 15:54:30 -07:00
Ari Lazier
68603c2620 fix exports 2015-10-08 15:51:46 -07:00
Ari Lazier
d9618a0e06 remove const, link test app with libRealmReact 2015-10-08 15:51:46 -07:00
Ari Lazier
55a07c99dc react test app 2015-10-08 15:50:10 -07:00