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

您现在的位置是:虫虫源码 > 其他 > 运行文件的行为通过JUnit

运行文件的行为通过JUnit

  • 资源大小:12.75 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: junit 文件 运行 通过 行为

资 源 简 介

This project has moved and is maintained by different people on GitHub. https://github.com/jonnybbb/easyb-junit/ Provides a way to run easyb behaviors through JUnit. Requires Easyb version 0.9.6. To use this you just need to create a class that extends the EasybSuite class. The class specified the base directory the Easyb behaviors are in, and gives a description for the suite. Like this: ``` public class EasybTest extends EasybSuite { @Override protected File baseDir() { return new File("spec"); } @Override protected String description() { return "My Project Behaviors"; } } ``` Then you can run this test in your IDE, or using Ant, or whatever else and it should execute all the behaviors under the folder you specified (behaviors must have a file extension of "specification" or "story"). Here is what the results look like in Eclipse: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP