Add tests in CI that test CLI args/options
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Swift
- Stars
- 19.7k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 11
Description
During #1191, I discovered that there aren't any tests targeted at verifying CLI options. It seems like we could have some small tests that ensure that swiftlint emits expected output when run with certain args/options.
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
Start by reviewing the discovery in #1191 and the repository’s existing CI and test entry points. Add small CI tests that run swiftlint with CLI arguments or options and assert the expected output; done when representative CLI option behavior is covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100