"Go to Test" for nested/inner Tests in a JUnit Test Suite

未关闭
#1,386 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
java, typescript, vscode
领域
testing

调研方向

首先,在 VS Code 中运行 JUnit 测试套件后,于链接的 junit-suite-example 项目中复现嵌套测试的行为。将嵌套测试的操作与独立测试的上下文菜单进行比较,并查看原始 issue 647 以了解之前的讨论;完成的标准是嵌套测试支持所请求的导航操作,并且在重启后仍可使用。

由索引模型根据 Issue 内容生成。

描述

ai-triaged enhancement junit low-priority ui

I would like to request a feature/fix for the empty context menu for JUnit Tests under a (Custom)TestSuite. At least I would need the "Go to Test" functionality (or a double-click on the Test) as you can see in the screenshots below.

See also original issue: https://github.com/microsoft/vscode-java-test/issues/647

After running a JUnit Test Suite, the executed Tests under the Suite are shown, but it's not possible to jump to a Test (you can only hide Tests):
image

When you restart VS Code, the nested Tests are not even shown (maybe this is by design?):
image

For Tests without a Suite the context menu has an "Go to Test" entry:
image

Here you can find my example project: https://github.com/steinerthomas/junit-suite-example

主要语言
TypeScript
星标
340
派生
173
平均合并
1 天 19 小时
30 天内合并 PR
18

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/vscode-java-test 的其他 Issue

查看 microsoft/vscode-java-test 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。