Github TestLens
插件截图
插件概述
Jump between code and tests when reviewing code in Github.插件详情
When reviewing code in github, it's sometimes hard to match unit tests with the code that they are testing.To help that process, this extension links those two together. It matches these files by name, and adds simple links that allow you to jump back and forth between them.
This way you can see more easily if the tests are doing what they should and if the code is well tested.
The name matching works based on pairs of regular expressions:
- The first expression matches the "code" files. That is, the files being tested. Capture groups in this expression will be used in the second one.
- The second expression tries to find matching test files. It uses the captured matches from the first one to find test files with a name that corresponds to the "code" file.
These pairs of expressions can be managed in the options window.
The regular expressions use the javascript syntax. Most notably, the capture groups are referenced by $1, $2, etc.
The extension comes pre-configured with a simple example expression matching C# files.
Feel free to use it, either as inspiration or for actual work.
Please let me know if you have any comments or suggestions.
Enjoy!
其他信息
官方唯一标识:clibbfnh****************ifjaipjc
官方最后更新日期:2016年5月23日
分类:开发者工具
大小:27.65KiB
版本:0.5.2
语言:English
提供方:none
星级:4
插件下载
| 下载链接一 下载链接二 |
| Chrome插件离线安装教程 |
温馨提示
本站中的部份内容来源网络和网友发布,纯属个人收集并供大家交流学习参考之用,版权归版权原作者所有。
如果您发现网站上有侵犯您的知识产权的作品,请与我们取得联系,我们会及时修改或删除。
如果您觉得网多鱼对您有帮助,欢迎收藏我们 Ctrl+D。