0
我需要在運行測試之前啓動應用程序,以便初始化/ data/data/appName/files /中的某些文件夾,然後我想使用adb命令將某些文件推送到那裏。是否可以啓動應用程序而無需啓動測試服務器?
如果我使用start_test_server_in_background,它將開始測試也...
#I can't do this, bcs it will run my tests before I have data in there
start_test_server_in_background
shutdown_test_server
#I tried something like this, I am not sure how it should be written
http("/ready")
http("/kill")
#Pushing files to created folders afterwards
system("#{default_device.adb_command} push /someFolder/someFiles /data/data/appName/files")