wordpress-mobile / wordpress-mobile/release-toolkit

Add xctestrun snippet as a Release Toolkit action

Open
#437 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
31
Forks
10
Avg merge
5h 45m
Merged PRs (30d)
2

Description

While reviewing the Day One Apple Fastlane improvements with Jeremy, he suggested making a Release Toolkit action of this code:

    xctestrun_path = Dir.glob(File.join(build_products_path, '*.xctestrun')).select do |path|
      path.include?(options[:name])
    end.first

    if xctestrun_path.nil? || !File.exist?((xctestrun_path))
      UI.user_error!("Unable to find .xctestrun file at #{build_products_path}")
    end

It is a common set of code shared between many (all?) of the iOS apps, so potentially a good candidate for a Release Toolkit action.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating existing Release Toolkit actions and the shared iOS Fastlane uses of this snippet. Extract the .xctestrun lookup and shown missing-file error as reusable behavior, then verify it through the repository's existing tests; done means the common behavior is available as an action.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, ruby
Domain
release, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.