robotframework / robotframework/SeleniumLibrary

Copy any received files (and corresponding approved files) to results folder

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

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

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

説明

Occasionally there are errors within the approvaltests unit tests. These unit tests do post processing against know reults. When an eror occurs then the syst outputs the received files along side the files showing what was expected or the approved files. Like these

approved_file = '/home/runner/work/SeleniumLibrary/SeleniumLibrary/utest/test/keywords/approved_files/test_selenium_options_parser.test_split_options.approved.txt'
received_file = '/home/runner/work/SeleniumLibrary/SeleniumLibrary/utest/test/keywords/approved_files/test_selenium_options_parser.test_split_options.received.txt'

Notice that the file directory for these is not under the atest/results folder which our GitHub Action workflow will zip and archive. I am wondering if it is worth saving these files as part of that archive? (Actually is there is an unit test failure within GitHub actions we might also have the issue that there is no results folder because we never run the atests. might be a secondary problem to looks at as well.)

Recording here as a reminder to look into this ..

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

ApprovalTests の単体テストの後処理と、atest/results フォルダーをアーカイブする GitHub Action ワークフローを調査してください。失敗を再現し、その後、受信ファイルとそれに対応する承認済みファイルがアーカイブ済みの結果にコピーされることを確認してください。また、atests が実行されず、results フォルダーが存在しないケースを個別に確認してください。

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

評価

技術スタック
github-actions, python
領域
ci-cd, testing-qa
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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