首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > pyunit-splitcamelcase

pyunit-splitcamelcase

  • 资源大小:76.59 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: python PyUnit Nemerle

资 源 简 介

Commandline tool to split camelCase in test names of PyUnit tests. CamelCase is good if there are few components. When there are more than 4 it becomes annoyance to read. If you have the convention of using camelcase to name tests, you have some long camel cases in your project. One solution is to use underscores, but in case of PyUnit there is yet another solution. You can use docstrings. The good news is that if there is a doc string in the test method, PyUnit will display it instead of test name. This program will go through every file it gets in the args. Each test name that has more than 4 components will be shrunk (taking care of not introducing duplicates) and the corresponding splitted name will be put into the doc string. Moreover, it will check the corresponding module under test and build a dictionary of used words so that it will not split camelcase method names appearing in the module under test. The program assumes certain structure in the direc

文 件 列 表

Nemerle.dll
splitcamelcase.exe

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 杨波 1天前 成为了本站会员

  • ZS 1天前 成为了本站会员

  • . 2天前 成为了本站会员

  • 奋斗 2天前 成为了本站会员

  • 2天前 成为了本站会员

  • 一天不玩浑身难受 3天前 成为了本站会员

  • Aloha 3天前 成为了本站会员

  • 嘻嘻嘻 3天前 成为了本站会员

  • maihaoweilai 3天前 成为了本站会员

  • 紫麟鹿 3天前 成为了本站会员