Tell me more ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I've got Jenkins set up to build my application test target and execute tests in the iOS simulator like this answer says. When I execute the build in Jenkins, the iOS simulator launches and runs all of my tests, but I only get output in the test log for the first test.

If I run xcodebuild from the command line it also runs all of my tests, but I do get output for all of the tests.

Does anybody have any idea what could be going wrong in Jenkins or suggestions for further troubleshooting? Thanks!

share|improve this question
I haven't run into this, but is it possible that each test result returned counts as a 'complete' message from stdout? So Jenkins would stop once the first result is returned because it thinks it has received the 'all clear' (shell returns a "0" all clear)? – maznika Mar 29 at 19:42
The program that produces the output was still executing and does not return a shell exit code until it completes all tests. I ended up writing another script that wraps the program and reproduces its output. Hacky fix, but it eventually got me where I needed to be. – Greg Mar 29 at 19:48
Wow. Very strange, but your fix was all I could think of as well for a work around. – maznika Mar 29 at 20:37

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.