lib/xcake/xcode/project.rb in xcake-0.8.12 vs lib/xcake/xcode/project.rb in xcake-0.8.13

- old
+ new

@@ -196,8 +196,21 @@ def find_unit_test_target_for_target(target) targets.find do |t| t.name == "#{target.name}Tests" end end + + # Finds a ui test target for a xcode target + # + # @param [Target] target + # target to find a xcode target for. + # + # @return [Target] ui test target + # + def find_ui_test_target_for_target(target) + targets.find do |t| + t.name == "#{target.name}UITests" + end + end end end end