aws / aws/aws-durable-execution-sdk-python

[Testing] [Feature]: Assert on events for examples

オープン
#440 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
pkg:testing
主要言語
Python
スター
53
フォーク
25
平均マージ
1日 19時間
マージ済み PR(30日)
40

説明

Migration from https://github.com/aws/aws-durable-execution-sdk-python-testing/issues/181

---

### What would you like?

Currently we do manually asserts in integration tests.

We should be able to:

1. Generate events from local runner
2. Assert current events with the events in the json file

### Possible Implementation

_No response_

### Is this a breaking change?

No

### Does this require an RFC?

No

### Additional Context

_No response_

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

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

調査の方向性

まず、現在イベントを手動で検証している integration tests と、それらを生成する local runner をたどります。現在のイベントと JSON ファイル内のイベントを比較する際の期待される動作を定義し、その後、examples が新しい assertions を使用し、引き続きテストに合格することを確認します。

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

評価

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

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

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