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

您现在的位置是:虫虫源码 > Java > 反射测试工具

反射测试工具

  • 资源大小:50.26 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 测试工具 反射

资 源 简 介

Introduction Reflection Test Utils is a Java library aiming to simplify testing of boring Java code. In test-driven development each method needs to be tested. But writing tests for some methods can be a repetitive and boring task: * Java bean no-arg constructors * Java bean accessors * hashcode * equals * toString Having a library which would be able to test these methods automatically using reflection would increase code coverage, confidence in code correctness and remove lot of boring code. Some code that needs to be tested may be even unreachable - for example private constructors in utility classes. Cobertura coverage tool then marks them as untested lowering code coverage percentage. Reflection Test Utils therefore also supports execution of private constructors.

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.191808s