Skip to content

Unit tests for swift-format CLI tool and for Plugins #611

Open
@natikgadzhi

Description

@natikgadzhi

Currently, swift-format test suite covers Rules and PrettyPrint. Several components are not covered:

  • generate-pipeline that builds RuleRegistry and friends
  • swift-format the CLI executable target, including Configuration, Frontend, and the whole argument-parser based thing.
  • Plugins.

Disclaimer: my understanding and knowledge are very high-level and basic still, I'm only diving in.

I think with some guidance, we could split these components up into smaller chunks, and each of those chunk-unit-test-issues could be a great good-first-issue for beginners.

UPD: Stumbled at this when I was looking to add tests for executable generate-pipeline target: https://forums.swift.org/t/argumentparser-and-xctest/34523

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions