Skip to content

Add test-writing rules (mocking / parametrize / fixtures) #7

@DaisukeYoda

Description

@DaisukeYoda

概要

tooling の test-pytest は pytest 導入のみで、テストの「書き方」ルールが coding-standards 側に無い。

追加候補ルール

  • test-parametrize — パラメータ化テストで重複を排除
  • test-fixtures — fixture でセットアップを共通化
  • test-mocking — 外部依存の適切なモック化

備考

  • coding-standards に Testing カテゴリを新設するか、既存カテゴリに含めるか要検討
  • _template.md 形式に準拠

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions