Conversation
…ameter. This parameter will be used to resolve scheme name and app path for custom application names
…his parameter will be passed to the run method - added parameter app_name to the run method, this parameter will be passed to the new app_name property of the Bwoken::Script - added parameter app_name to the #cmd method, this parameter will be used during build path resolving
…argeted test) tasks
…name will be provided by Bwoken::Script
|
I'd like to have this as well. Our project's scheme and .workspace filename don't match. |
|
@ap4y @tcoulter I'm seriously considering abandoning Anyway, I'm thinking test should be run with a Thoughts? |
|
+1. Allows for extensibility later on. I plan on contributing to bwoken significantly soon. Our own test runner (which we're disbanding in favor of bwoken) has other options like custom trace templates, etc., which required a few monkey-patches in a custom rakefile to get the same features out of bwoken. Actually, we had to monkey patch just to get it running, as we have something of a non-standard environment. I'm all for this. |
|
I'm for stand-alone runner too. Executing |
|
I noticed solution for similar problem in xcodebuild gem. Instead of using plain rake task parameters, we can encapsulate all task logic into subclass of the |
|
Any progress on this? I was considering making the same change that @ap4y submitted. |
|
@luketheobscure no progress... lots on my plate, but that's a terrible excuse. |
|
I believe the original intent of this PR is now satisfied with #43 merged into master and released as 2.0.0.beta.2. I'm closing this, but feel free to ask me to re-open (or just create a new issue) if the new code doesn't satisfy your needs. Thanks everyone for the discussion on this thread. It's resulted in a new direction for bwoken, and I'm really happy about it. |
Right now scheme for
xcodebuildand app name forinstrumentsare calculated from workspace file name. I think it would be useful to provide ability to change this behaviour. For example, I'm using special target/scheme forUIAutomationtests with networking stubs.I have added argument
:app_nameforraketasks:compileand:test(including device specific tests). This :argument is optional and can be omitted.