Explicitly test cache pruning of each board constructor

オープン
#81 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
testing

調査の方向性

まず pins.constructors.board_rsconnect と他のボードコンストラクターに対する既存のテストを確認し、次に独立した cache_prune のテストを確認します。各ボードコンストラクターを通じて作成されたファイルを cache_prune が削除することを示すカバレッジを追加し、既存のキャッシュパスに関するアサーションは維持します。

索引モデルが issue の本文から書いたものです。

説明

testing

Functions like pins.constructors.board_rsconnect provide a convenient high-level entry point for users. However, while we currently test that these boards follow the correct path structure in the cache (e.g. <board_folder>/<pin_folder>/<version_folder>), we do not explicitly test that cache_prune removes files these have created.

(Note that there are independent tests of cache_prune's behavior, though; where caches are independently created then pruned)

主要言語
Python
スター
59
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rstudio/pins-python のほかの issue

rstudio/pins-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。