Support for pure Kotlin tests (needed for Kotlin Multiplatform)
还没有人认领这个 Issue。
评估
调研方向
首先阅读链接的 Kotlin Multiplatform 测试文档,并比较 Cucumber 当前在 common-jvm 和 common-js 模块中的使用方式。确定 common 模块直接支持 kotlin.test 所需的范围;完成后应允许 common 代码在所有平台上运行测试,而无需复制 step definitions。
由索引模型根据 Issue 内容生成。
描述
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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cucumber/common 的其他 Issue
-
Upgrade to TypeScript 7可能重新可做 @davidjgoss 于 124 天前认领,目前没有进行中的 PR。 未关闭language: javascript
-
Allowing both DocString and DataTable on a single step可能重新可做 @mpkorstanje 于 129 天前认领,目前没有进行中的 PR。 未关闭
-
Enable static analysis可能重新可做 @mpkorstanje 于 220 天前认领,目前没有进行中的 PR。 未关闭
-
难度 5/5 一周以上 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 25/100
相似的 Issue
-
frontend testing
难度 2/5 1-3 小时 新手友好度 84/100
vendrabuck/HERD#1588 ·
维护者通常 1 天内回复
-
`explain <unknown topic>` prints a JSON object and exits 0 instead of an error that lists the topics未关闭enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
-
good first issue priority: low testing
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
mobile
难度 2/5 1-3 小时 新手友好度 68/100
-
bug help wanted
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复