CocoaPods / CocoaPods/pod-template

Create a full test

Open
#79 3 comments 0 reactions 0 assignees View on GitHub
d2:moderate t1:enhancement
Dominant language
Ruby
Stars
394
Forks
391
PR merge metrics
No merged PRs in 30d

Description

We should have a repo which is the result of pod-template which specific arguments. Then a test that runs though the same options and then does a diff on output.

Similar to https://github.com/QueryKit/mogenerator-template/blob/master/Makefile#L7-8. We don't need any complex ruby, simple diff does the job.

This should give us more visibility on the [output and how it looks](https://github.com/QueryKit/mogenerator-template/tree/master/Example), and also allows us to know when we unintentionally break something.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect how pod-template is invoked and determine the specific arguments that should produce the checked-in repository. Compare the linked mogenerator-template Makefile lines 7-8 for the simple diff approach, then verify that the generated output matches the fixture and that the test detects unintended changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.