diff --git a/ReactAndroid/src/androidTest/AndroidManifest.xml b/ReactAndroid/src/androidTest/AndroidManifest.xml
index 2363aff11..8d433458e 100644
--- a/ReactAndroid/src/androidTest/AndroidManifest.xml
+++ b/ReactAndroid/src/androidTest/AndroidManifest.xml
@@ -3,15 +3,24 @@
package="com.facebook.react.tests"
android:versionCode="1"
android:versionName="1.0" >
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/ReactAndroid/src/androidTest/BUCK_temp b/ReactAndroid/src/androidTest/BUCK_temp
new file mode 100644
index 000000000..d33209ced
--- /dev/null
+++ b/ReactAndroid/src/androidTest/BUCK_temp
@@ -0,0 +1,66 @@
+include_defs('//ReactAndroid/DEFS')
+
+
+CATALYST_PRIMERY_DEX_PATTERNS = [
+ '/CatalystAppShell^',
+ '/CatalystApplicationImpl^',
+ '^com/facebook/buck/android/support/exopackage/',
+ '/FbInstrumentationTestRunner^',
+ '/PrimaryDexFactories^',
+ '/Screenshot^',
+ '/DexmakerMockMaker^',
+ '/AndroidJUnitRunner^',
+ '/InstrumentationRunListener^',
+ '/ExposedInstrumentationApi^',
+ '/TestApplication^',
+ '/ApplicationWithInjector^',
+ '/RunListener^',
+]
+
+JS_BUNDLE_DEPS = [
+ #':intern-schema',
+# '//java/com/facebook/graphql:schema',
+# '//java/com/facebook/graphql/graphql-data:locate_node'
+]
+
+
+# instrumentation tests that will run for tests located in GitHub open sourced folder
+android_binary (
+ name = 'react_oss',
+ manifest = 'AndroidManifest.xml',
+ keystore = '//keystores:debug',
+ use_split_dex = True,
+ linear_alloc_hard_limit = 10 * 1024 * 1024,
+ primary_dex_patterns = CATALYST_PRIMERY_DEX_PATTERNS,
+ deps = [
+# ':integration_test_oss_bundle_js',
+ react_native_integration_tests_target('java/com/facebook/react/tests:tests'),
+ # '//java/com/facebook/catalyst/js/react-native-github/ReactAndroid/src/main/res:shell',
+ ],
+)
+
+# Building this rule will produce a file named messenger_test.apk
+android_instrumentation_apk(
+ name = 'react_oss_test_apk',
+ manifest = 'AndroidManifest.xml',
+ apk = ':react_oss',
+ deps = [
+# react_native_integration_tests_target('java/com/facebook/react/tests:tests'),
+ # react_native_integration_tests_target('java/com/facebook/react/tests:tests'),
+ # '//java/com/facebook/catalyst:integration_test_oss_bundle_js#dev',
+ ],
+)
+
+
+
+android_instrumentation_test(
+ name = 'react_oss_test',
+ apk = ':react_oss_test_apk',
+)
+
+sh_binary(
+ name = 'integration_test_oss_bundle_js',
+ main = 'buildBundle.sh',
+# deps = [':InstallReactNativeNodeModules'],
+ visibility = ['PUBLIC'],
+)
diff --git a/ReactAndroid/src/androidTest/buildBundle.sh b/ReactAndroid/src/androidTest/buildBundle.sh
new file mode 100755
index 000000000..6a61faa90
--- /dev/null
+++ b/ReactAndroid/src/androidTest/buildBundle.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# TODO put output to temp folder?
+node ./local-cli/cli.js bundle --entry-file ReactAndroid/src/androidTest/assets/TestBundle.js --dev --platform android --bundle-output ReactAndroid/src/androidTest/assets/ReactAndroidTestBundle.js