Hi,
I'am trying to use the new beta5 Bamboo Xcode plugin.
It works fine for building (multiple) target(s). But when I check the "Include OCUnit/SenTestKit Test results" option, the build fails.
In fact, the build himself is successfull, but bamboo does not find tests results ("Failing task since test cases were expected but none were found."). This unit tests are running normaly on my mac.
Is there any particular configuration/target to set in order to run unit tests on the bamboo server ?
Thank you
Michel
Can we get a resolution to this? I also have issues running tests.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having the same issue. Following the instructions in the Xcode documentation at https://confluence.atlassian.com/display/BAMBOO/Xcode, Bamboo is still unable to see my unit tests and fails saying "Failing task since test cases were expected but none were found."
Can anyone suggest a fix? I've verified my Xcode build task works correctly and my build plan is successful without checking "Include OCUnit/SenTestKit Test results" however as soon as I do I get this error. I have logic tests in place and have added the script below to my logic tests target.
if [ "$RUN_UNIT_TEST_WITH_IOS_SIM" = "YES" ]; then test_bundle_path="$BUILT_PRODUCTS_DIR/$PRODUCT_NAME.$WRAPPER_EXTENSION" ios-sim launch "$(dirname "$TEST_HOST")" --setenv DYLD_INSERT_LIBRARIES=/../../Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection --setenv XCInjectBundle="$test_bundle_path" --setenv XCInjectBundleInto="$TEST_HOST" --args -SenTest All "$test_bundle_path" echo "Finished running tests with ios-sim" else "${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests" fi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry for the late reply, but does it work with the latest plugin release?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is probably dredging up an old issue, but I'm seeing this problem as well. I have OCUnit tests in my project, and the plugin finds 0 tests and fails the whole build. Was there ever a resolution to this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have the configuration configured in the task that can run the OCUnit tests? If Bamboo can't find the test output in the build log and it expects tests, it will fail the build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm going to dredge this up again now, sorry. Using 1.8 of the plugin: Unit tests run properly (with "build all targets" checked) - the output and everything shows up in the logs. However I'm getting the error "Failing task since test cases were expected but none were found." Don't really know what to do here. If I uncheck the option to put tests in Bamboo then it all works fine, it would be nice to get the tests integrated though. Any chance of a solution to this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.