Code Monkey home page Code Monkey logo

fastlane-plugin-bluepill's Introduction

fastlane-plugin-bluepill's People

Contributors

tbrand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fastlane-plugin-bluepill's Issues

how to run this plugin

Hi i want to use this plugin. Have some question though

  • do i need to build for testing before test

  • scheme and app is not clear for me can you please give some details.

Not able to to usd bluepill fastlane

Trying to use https://github.com/tbrand/fastlane-plugin-bluepill.But found out scheme option is no longer valid and only xctestrun would suffice.But it gives me an error stating "scheme is required",
but if use scheme it gives me below error

[!] Could not find option 'scheme' in the list of available options: xctestrun, output_dir, app, device, headless, number_of_simulators, reuse_simulator

So could you please help me with this issue, so that we can leverage this plugin.
@tbrand @FelipeDocil

Can't start simulators

Hi,

Trying to make this plugin work. This is what I have now in Fastlane:

sh("rm -rf ../bluepill")
sh("rm -rf ../bluepill_output")

scan(
   workspace: "./SQE_SDK_Tests/QAApp.xcworkspace",
   scheme: QA_APPNAME,
   build_for_testing: true,
   derived_data_path: './bluepill',
   buildlog_path: './bluepill/logs/'
)

bluepill(
   app: './bluepill/Build/Products/Debug-iphonesimulator/QAApp.app',
   scheme: './SQE_SDK_Tests/QAApp.xcodeproj/xcshareddata/xcschemes/QAApp.xcscheme',
   xctestrun: './bluepill/Build/Products/QAApp_iphonesimulator11.2-x86_64.xctestrun',
   output_dir: coverage_path,
   device: 'iPhone 6',
   number_of_simulators: 2,
   headless: false,
   reuse_simulator: true
)

Getting the following error:

----------------------
[17:26:17]: --- Step: bluepill ---
[17:26:17]: ----------------------
[17:26:17]: Start test by using Bluepill: https://github.com/linkedin/bluepill
[17:26:17]: $ /Users/UladzimirKisialiou/.rvm/gems/ruby-2.3.3/bundler/gems/fastlane-plugin-bluepill-4b0b07c9042e/bin/bluepill ./bluepill/Build/Products/QAApp_iphonesimulator11.2-x86_64.xctestrun -a ./bluepill/Build/Products/Debug-iphonesimulator/QAApp.app -s ./SQE_SDK_Tests/QAApp.xcodeproj/xcshareddata/xcschemes/QAApp.xcscheme -o /Users/UladzimirKisialiou/NBC/mobile_mps_sdk_ios/Coverage_QA/SDK -d "iPhone 6" -n 2 --reuse-simulator
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] This is Bluepill v1.0.2-46-g3bcef0c
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Running with 2 simulators.
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Packed tests into 3 bundles
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Started Simulator 1 (PID 84482).
[17:26:17]: ▸ 2018-01-24 17:26:17.524 bp[84482:5316399] SimDevice is loaded..
[17:26:17]: ▸ 2018-01-24 17:26:17.528 bp[84482:5316399] Failed to initialize SimServiceContext: (null)
[17:26:17]: ▸ bp: invalid configuration
[17:26:17]: ▸ (null)
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] Simulator 1 (PID 84482) has finished with exit code 1.
[17:26:17]: ▸ {84465} 20180124.172617 [  ERROR ] ERROR: Failed to read the device ID file /var/folders/jr/12x23pxx2s1f_82dnlflppwc0000gq/T/bluepill-deviceid.84482 with error:
[17:26:17]: ▸ {84465} 20180124.172617 [  INFO  ] PID 84482 exited 1.
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] 0 Simulators still running. []
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] Using 433 of 2128 processes.
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] Started Simulator 2 (PID 84485).
[17:26:18]: ▸ 2018-01-24 17:26:18.541 bp[84485:5316521] SimDevice is loaded..
[17:26:18]: ▸ 2018-01-24 17:26:18.544 bp[84485:5316521] Failed to initialize SimServiceContext: (null)
[17:26:18]: ▸ bp: invalid configuration
[17:26:18]: ▸ (null)
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] Simulator 2 (PID 84485) has finished with exit code 1.
[17:26:18]: ▸ {84465} 20180124.172618 [  ERROR ] ERROR: Failed to read the device ID file /var/folders/jr/12x23pxx2s1f_82dnlflppwc0000gq/T/bluepill-deviceid.84485 with error:
[17:26:18]: ▸ {84465} 20180124.172618 [  INFO  ] PID 84485 exited 1.
[17:26:19]: ▸ {84465} 20180124.172619 [  INFO  ] Started Simulator 3 (PID 84488).
[17:26:19]: ▸ 2018-01-24 17:26:19.544 bp[84488:5316644] SimDevice is loaded..
[17:26:19]: ▸ 2018-01-24 17:26:19.548 bp[84488:5316644] Failed to initialize SimServiceContext: (null)
[17:26:19]: ▸ bp: invalid configuration
[17:26:19]: ▸ (null)
[17:26:19]: ▸ {84465} 20180124.172619 [  INFO  ] Simulator 3 (PID 84488) has finished with exit code 1.
[17:26:19]: ▸ {84465} 20180124.172619 [  ERROR ] ERROR: Failed to read the device ID file /var/folders/jr/12x23pxx2s1f_82dnlflppwc0000gq/T/bluepill-deviceid.84488 with error:
[17:26:19]: ▸ {84465} 20180124.172619 [  INFO  ] PID 84488 exited 1.
[17:26:20]: ▸ {84465} 20180124.172620 [  INFO  ] All simulators have finished.

Could you please help me resolving this?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.