realm / realm/SwiftLint

Add tests in CI that test CLI args/options

Open
#1,213 1 comment 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.