Flagsmith / Flagsmith/engine-test-data

Add `In` operator edge cases

オープン
#37 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
0
フォーク
0
平均マージ
4日 22時間
マージ済み PR(30日)
1

説明

See https://github.com/Flagsmith/flagsmith-php-client/pull/115#discussion_r2466356145.

Add the following cases.

Native list condition properties:
- float context value vs float[] condition property — should match.
- int context value vs int[] condition property — should match.
- float context value vs int[] condition property — should not match.
- int context value vs float[] condition property — should not match.

Comma-delimited string condition properties:
- float context value vs string comma-delimited floats condition property — should match.
- int context value vs string comma-delimited ints condition property — should match.
- float context value vs string comma-delimited ints condition property — should not match.
- int context value vs string comma-delimited floats condition property — should not match.

JSON-encoded list condition properties:
- float context value vs string JSON-encoded floats condition property — should match.
- int context value vs string JSON-encoded ints condition property — should match.
- float context value vs string JSON-encoded ints condition property — should not match.
- int context value vs string JSON-encoded floats condition property — should not match.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まずリンクされた pull request の議論を読み、次にこのリポジトリにある `In` 演算子の既存のテストデータを調べてください。ネイティブリスト、カンマ区切りリスト、JSON エンコードされたリストに関する、一覧にある 12 件の数値ケースを追加し、整数型と浮動小数点型について期待される一致または不一致の結果を維持してください。

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

評価

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

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

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