This commit is contained in:
Sidharth Bamba
2021-09-27 21:34:58 +05:30
parent ed9b141b2d
commit a4630fc3bd
2 changed files with 13 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ RUN bash -c " \
if [ $FLAVOR = E2ETEST ] ; then \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup; \
if [ $? -ne 0 ] ; then exit 1 ; fi ; \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.BrowserStackInit -PtestType=\"e2e\" executeE2ETests; \
if [ $? -ne 0 ] ; then exit 1 ; fi ; \
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.MockDataCleanup; \

12
run-tests.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
./gradlew clean :app:testDevDebugUnitTest --tests com.naviapp.CustomerDataCleanup
if [ $? -eq 0 ]
then
echo "Tests Passed"
exit 0
else
echo "Tests Failed"
exit 1
fi