MagicStack / MagicStack/asyncpg
Update documentation to cover testing using pytest
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 8.1k
- フォーク
- 468
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Please add a section in your documentation on how to test code that uses pool, fetch, executemany etc using pytest. I could not find anything on stackoverflow or issues where is a slight reference somewhere to TempCluster but no examples whatsoever. Are you supposed to mock this library or create an actual database while testing. Would be super helpful for future readers
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、既存のドキュメントと issue で言及されている簡単な TempCluster のリファレンスを確認します。pool、fetch、executemany の使用をテストするための pytest のガイダンスと例を追加し、モックを使用するか実際のデータベースを使用するかについて、ドキュメントに記載された選択肢も含めます。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- postgresql, python
- 領域
- databases, documentation, testing
- issue の種類
- ドキュメント
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100