code-corps / code-corps/code-corps-api
Consider adding tests for seeds
オープン
Difficulty: Medium
needs clarification
Priority: Low
Skill: Elixir
Skill: Phoenix
- 主要言語
- Elixir
- スター
- 234
- フォーク
- 82
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
# Problem
We make use of changesets and other data in our seeds that can change over time. Seeds are especially useful for new contributors and useful for starting fresh with the database for testing purposes. We should consider adding tests (or finding some other way of ensuring seeds do not break as the application changes) to prevent churn in the application from affecting the value of the seeds.
コントリビューションガイド
調査の方向性
まず seed の定義と changeset 関連のデータを特定し、次にテスト用の新しいデータベースがどのように作成されるかを確認します。アプリケーションの変更によって seed が無効になったことを検出する、再現可能なチェックを定義し、それが seed データを保護しつつ、新しいテスト環境のセットアップを妨げないことを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- elixir
- 領域
- database
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100