您的位置:首页 > 运维架构 > Linux

linux junit

2016-02-01 00:00 756 查看
1.下载junit jar包
http://www.shangxueba.com/share/p6131505.html
2.把下载的junit-4.9.jar放入你的程序路径下的lib文件夹

3.编写类

import junit.framework.TestCase;
public class TestCreateTopic extends TestCase{
public static void main(String args[]){
junit.textui.TestRunner.run(TestCreateTopic.class);
}
public void testCreateTopicNormal() {
com.createTopic(client, "bqs-bigpipe-test4", "right");
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: