adammcarter / adammcarter/swift-snapshot-testing-macros

Add fixit/warning when user adds a specific throws(Type) throw to their @SnapshotTest func

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
diagnostics
Dominant language
Swift
Stars
59
Forks
3
PR merge metrics
No merged PRs in 30d

Description

We only support empty throws / no throws

Contributor guide

Open the contributing guide

Research direction

The entry point is the @SnapshotTest macro; first inspect how it handles empty throws and no throws and how diagnostics are tested. Done means a specific throws(Type) declaration produces the requested warning or fix-it while the two supported forms remain unchanged.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.