adammcarter / adammcarter/swift-snapshot-testing-macros
Add TimeLimitSnapshotTrait helpers for seconds?
未关闭
enhancement
traits
- 主要语言
- Swift
- 星标
- 59
- 派生
- 3
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently it's limited to minutes just like the Swift Testing seems to be.
It seems odd that Swift Testing only has TimeLimitTrait.Duration helper for .minutes
Maybe our helper should use the standard library's Duration type and convert on the fly to Swift Testing's `minutes`
贡献指南
调研方向
Start by locating the TimeLimitSnapshotTrait helpers and the Swift Testing TimeLimitTrait.Duration usage mentioned in the issue. Compare the supported minute-based API with Swift’s standard Duration type, then verify that the helper can accept seconds and still convert correctly to Swift Testing’s minutes representation.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- swift
- 领域
- testing
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 43/100