Open mariusbob opened 6 years ago
Cucumberish runs in a normal test target and can be ran from like any other target using thexcodebuild
CLI. As far as I know, there is no additional configuration needed for Cucumberish to make this work. The Apple Developer website has a good guide on automating the Test Process.
Once you are able to use the xcodebuild
command, you can consider using Fastlane. It is a automation tool that abstracts xcodebuild
and makes it less of a hassle to use. Get started with the fastlane docs: Running tests.
I am stumbled upon this too. Any suggestion on how to go about it?
I was able to get it work with fastlane and xcodebuild. As its said, its pretty straight forward. You just need to define the testing scheme and your tags that you want to run and the through fastlane or xcodebuild you just need to call the test scheme and it will work just fine. For example,
if you are calling Cucumberish 'execute feature' function with tags @uitest and if you run your ui test scheme using fastlane/xcodebuild then all of your tests that have @uitest tag will be executed as part of this test run.
Since I want to integrate my tests with Jenkins, I was looking on the wiki page to see if there is a way of running the tests from command line but I didn't find anything.
Any suggestions?