Adopt shared mapper test data from engine-test-data

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp
領域
testing

調査の方向性

MappersTest.cs と、Flagsmith/engine-test-data#46 で説明されている共有テストデータ mapper_test_cases から始めます。現在 inline になっている期待されるコンテキスト JSON と共有ケースを比較し、その後 mapper_test_cases がパスし、inline JSON が削除されていることを確認します。

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

説明

Mapper tests use inline expected context data rather than shared test cases from engine-test-data repository.

Acceptance criteria

  • mapper_test_cases pass (see Flagsmith/engine-test-data#46)
  • Remove inline expected context JSON from MappersTest.cs

Technical context

Current implementation uses inline JSON:
https://github.com/Flagsmith/flagsmith-dotnet-client/pull/177/files#diff-f851c822fa0e162b75312b6b9ab5dc31d3631179a33360ec77bbb83f4ae7c50eR12-R140

Shared test data: https://github.com/Flagsmith/engine-test-data/pull/46

Related issues:

  • Flagsmith/flagsmith-python-client#181
  • Flagsmith/flagsmith-ruby-client#93
  • Flagsmith/flagsmith-java-client#197
  • Flagsmith/flagsmith-nodejs-client#228
  • Flagsmith/flagsmith-go-client#196
  • Flagsmith/flagsmith-rust-flag-engine#26
主要言語
C#
スター
20
フォーク
17
平均マージ
21時間 47分
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Flagsmith/flagsmith-dotnet-client のほかの issue

Flagsmith/flagsmith-dotnet-client の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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