tbrand / fastlane-plugin-bluepill Goto Github PK
View Code? Open in Web Editor NEWFastlane plugin to use Bluepill powered by LinkedIn
License: BSD 2-Clause "Simplified" License
Fastlane plugin to use Bluepill powered by LinkedIn
License: BSD 2-Clause "Simplified" License
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.
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
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.