1.什么是单元测试(Unit Testing)? 测试(Testing)这个词很容易理解,那么什么是单元(Unit)呢? 一个单元指的是应用程序中可测试的最小的一组源代码。一组源代码可测试,一般要求其有明确的输入和输出。因此,一般来讲,源代码中包含明确的输入和输出的 每一个方法被认为是一个可测试的单
分类:
其他好文 时间:
2016-02-16 18:41:52
阅读次数:
157
The yocto project testing: "bitbake" the poky distribution with meta-raspberrypi layer for raspberrypi2 B+ board. After I finished the build process s
分类:
Web程序 时间:
2016-02-05 18:45:26
阅读次数:
209
describe( 'Forgot Password: with username', ()=> { let dirElementInput; beforeEach( ()=> { // Find the input control: dirElementInput = directiveElem.
分类:
其他好文 时间:
2016-02-05 01:31:52
阅读次数:
113
1. unittest 参考文档: https://docs.python.org/3/library/unittest.html The unittest unit testing framework was originally inspired by JUnit and has a simil
分类:
编程语言 时间:
2016-02-01 18:55:54
阅读次数:
176
测试计划属性配置有一个checkbox选项"Functional Testing",如果选中,Jmeter会记录从服务器返回的data到每个sample中。如果有选中一个listener,这个data会被写入file。这个在运行验证JMeter是否配置正确很有用,服务器有返回预期的值。结果是file
分类:
其他好文 时间:
2016-01-29 20:33:18
阅读次数:
143
TestNG,即Testing Next Generation,下一代测试技术,是一套根据JUnit和NUnit思想而构建的利用注释来强化测试功能的一个测试框架,即可以用来做单元测试,也可以用来做集成测试。 安装:Help-->Install New Software 点击Add,在弹出的对话框输入...
分类:
编程语言 时间:
2016-01-27 23:06:15
阅读次数:
347
本篇文章内容来源于Golang核心开发组成员Andrew Gerrand在Google I/O 2014的一次主题分享“Testing Techniques”,即介绍使用Golang开发 时会使用到的测试技术(主要针对单元测试),包括基本技术、高级技术(并发测试、mock/fake、竞争条件测试、并
分类:
其他好文 时间:
2016-01-27 22:47:36
阅读次数:
276
问题描述:I'm trying to get google maps on an application on my android device. I was testing how it works so i started with adding a simple map. However w...
分类:
移动开发 时间:
2016-01-23 00:46:36
阅读次数:
167
网上关于Android单元测试的文字帖子不胜枚举,看完之后能解决问题是好事,不能解决问题那就是浪费时间和经历。大多数文章来自于这篇文章:http://rexstjohn.com/unit-testing-with-android-studio/自从投入到AndroidStudioIDE之后基本上就赖着不走了。这里仅讨论AS(AndroidStud..
分类:
移动开发 时间:
2016-01-21 20:17:55
阅读次数:
243
Special subset sums: meta-testingLet S(A) represent the sum of elements in set A of sizen. We shall call it a special sum set if for any two non-empty...
分类:
Web程序 时间:
2016-01-20 20:50:12
阅读次数:
242