Support for pure Kotlin tests (needed for Kotlin Multiplatform)

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

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

評価

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

調査の方向性

まず、リンクされている Kotlin Multiplatform のテストに関するドキュメントを読み、common-jvm モジュールと common-js モジュールで現在 Cucumber がどのように使われているかを比較します。common モジュールで kotlin.test を直接サポートするために必要な範囲を判断します。完了時には、step definitions を重複させずに、common コードで全プラットフォーム上のテストを実行できるようにします。

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

説明

:zap: enhancement language: kotlin

Kotlin now has support for multiplatform projects. Common code is written in pure Kotlin (no Java dependencies are possible) and then developer creates modules like common-jvm and common-js which can contain JVM or JS dependencies. The code in the common module should be tested and Jetbrains created annotations in kotlin.test package which are automatically translated into JUnit or JS tests. Then tests can run on all platforms with no work. More documentation here.

So currently cucumber can be used only in common-jvm or common-js modules, but not in the common module. Which means writing step definitions twice. It would be great if cucumber supported kotlin.test tests directly.

主要言語
言語のデータがありません
スター
3.4k
フォーク
676
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

cucumber/common のほかの issue

cucumber/common の issue をすべて見る

似ている issue

Testing & QA の issue をもっと見る

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

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