Comments (10)
you are absolutely correct. I will add that next. Yesterday I fixed a bug in my pairing code and the dproxy
command now finally works again for Instruments and Accessibility Inspector.
from go-ios.
yes it is. I think I have not made it available to the command line.
Let me add that in the next releases.
from go-ios.
That will be amazing, thanks!
from go-ios.
Should work now :-)
from go-ios.
Works perfect, thank you! This will be highly useful if also available on "ios runtest" and "ios launch" commands :)
from go-ios.
Btw, if you have any other needs here, just let me know. Running subsets of tests etc. that can all be done. And thanks for sponsoring the project :-)
from go-ios.
Oh, I suppose you can't even buy lunch once with this, I wouldn't call it sponsoring :D I unfortunately can't afford a 100$ tier on a monthly basis but maybe with the help of your project I will, so for now I would not go over my head with requests :D Right now I am more interested in the Appium testing applications of this because I can use it to run tests on iOS on Linux which can be cheaply scaled a lot more than the undescribably expensive Apple hardware, but I also take interest in the ability for XCUITests running that can make it a one-point solution for both native and Appium automation. I'll take the liberty of asking a few questions though:
- Is it possible to get performance data on a running application(or the device itself) like CPU usage/RAM usage for example?
- How does "ios runtest" work exactly by only providing the bundle ID of the test runner? Shouldn't it also require the bundle ID of the application that the test is running against?
- What do you mean by subsets of tests? Like target a specific scheme of the test runner?
- Is it okay if I integrate your project in the Appium docker for iOS project I am doing?
All in all I highly appreciate the amazing work you are doing on this and I am looking forward to seeing even more great features, hats off to you :)
from go-ios.
Haha, that is fine. I have not plans on getting rich with this, I am doing it mostly for fun :-D
One thing I have thought about is building a small app to easily hook up iOS devices with CI servers. A problem I have right now for go-ios is that I have little to no integration tests. Ideally I would just connect an iOS device to github actions for that.
To answer your questions:
- Yes it is absolutely possible. Whatever you can do with the Mac, can be done with go-ios as well. I wanted to implement it at some point, shouldn't take more than a few hours.
testRunnerBundleID := bundleID + testBundleSuffix
whereconst testBundleSuffix = "UITests.xctrunner"
you need the bundleId of the app, the runner follows a convention usually. This was done under some time pressure so it might not work well for wider use cases. I am happy to change these things though.- Exactly, Xcode allows you to only run a single testcase or ignore some
- Sure! It is MIT license know, so you can do whatever you like with it :-)
Have you seen this one? I started this for the appium conference talk I will give in September.
https://github.com/danielpaulus/ios-appium-on-linux
from go-ios.
Sorry that I can't help you with writing the integration tests but if there is anything I can assist with in terms of testing stuff I am happy to help if I can :P
- Wow, I didn't really think it as flexible as "whatever you can do with the Mac" 😮
- Yeah, that makes sense. I saw another project that was asking for both and was just curious.
- Nice!
- Actually this is exactly the project that inspired me to start working on mine. I think I couldn't get it working at the time and now I am using another cli inside the containers, but I will switch to 'go-ios' and you are welcome to use any/all parts of it if it works for you :)
from go-ios.
- Yes! I think the coolest part of go-ios is the dproxy command. If you start it, it will basically act as a man in the middle so it can intercept device<-> mac communication and decrypt the SSL connections. It dumps everything in a decoded format to files. So what I do is just, launch dproxy, do what I am interested in f.ex. change the zoom level of the screen with AX Inspector, look at the dproxy dump and then add it to go-ios :-D
from go-ios.
Related Issues (20)
- MountImage: failed to load build manifest: loadBuildManifest: faild to open manifest file: open devimages/16.6/DeveloperDiskImage.dmg/BuildManifest.plist: not a directory","image":"devimages/16.6/DeveloperDiskImage.dmg
- ios fsync Help information HOT 1
- Direct Commands to increase/decrease the volume, change the font size, adjust the brightness, set vibrate/silent mode on etc can be added.
- Panic on pair with supervision cert HOT 1
- Unable to start tunnel start HOT 1
- i
- Add support for TCP tunnels using TLS-PSK cipher
- Refactor CLI app to Cobra HOT 1
- ios forward not reconnecting automatically if device disconnected and reconnected HOT 2
- iOS17 linux error: ManualPairAndConnectToTunnel: failed to find device ethernet interface HOT 10
- Existing devicestate commands are not supported on iOS 17
- WebDriverAgentRunner
- Feat Req: attach by pid for debugserver
- Ubuntu go-ncm failed opening network adapter for device
- Feat req: runwda also starts testmanagerd on iphone
- Q: is it possible to communicate with ios services without usb mux? HOT 2
- Introduce an alternative app installation approach based on InstallProxy service
- New node package versions are not published automatically
- Inject Touch events like Tap/Scroll
- awesome-os +go-ios?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-ios.