wordpress-mobile / wordpress-mobile/release-toolkit
Add xctestrun snippet as a Release Toolkit action
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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