目前黑盒测试的测试用例设计方法有5种: 等价类划分 边界值分析 错误推测法 因果图 功能图 一、等价类划分 等价列划分设计方法是把所有可能的输入数据,即程序的输入域划分成若干部分(子集),然后从每一个子集中选取少量具有代表性的数据作为测试用例。 等价类是指某个输入域的子集合。在该子集...
分类:
其他好文 时间:
2014-10-21 12:05:44
阅读次数:
229
var R: TRect;begin//Form1.Canvas.TextOut(20,20, '说明'); R:=Rect(20, 20, 120, 70); DrawText(Canvas.Handle, '说明', -1, R, DT_END_ELLIPSIS);end;//在...
测试用例设计的最基本要求:覆盖住所要测试的功能。这是再基本不过的要求了,但别看只是简单的一句话,要能够达到切实覆盖全面,需要对被测试产品功能的全面了解、明确测试范围(特别是要明确哪些是不需要测试的)、具备基本的测试技术(如:等价类划分等)等。那么满足了上述这条要求是不是设计出来的测试用例就是好的测试...
分类:
其他好文 时间:
2014-10-20 19:14:48
阅读次数:
114
1. Install cross compile tool chaindownload xilinx-2011.09-50-arm-xilinx-linux-gnueabi.bin and just run in terminal as follows:sudo ./xilinx-2011.09-5...
分类:
其他好文 时间:
2014-10-20 13:14:45
阅读次数:
283
通过路径我们可以实现更加复杂的图形的绘制,比如多边形,弧,圆角矩形等等- (void)drawRect:(CGRect)rect{ //获取图像上下文对象 CGContextRef context = UIGraphicsGetCurrentContext(); CGContext...
分类:
移动开发 时间:
2014-10-19 21:09:52
阅读次数:
220
1.找到android sdk的本地路径,
adb命令在platform-tool下面,记为XXXX
我的路径是(/Applications/eclipse/android-sdk-mac_x86/platform-tools)
2.打开终端输入
touch .bash_profile
open
-e .bash_profile 点回车
3....
分类:
移动开发 时间:
2014-10-19 18:36:04
阅读次数:
200
IOS中可以通过CGContextShowTextAtPoint来绘制文字,但这个方法不支持中文字符,而且在ios7之后也不推荐使用我们可以通过NSString的drawAtPoint以及drawInRect实现更加简单的文字绘制- (void)drawRect:(CGRect)rect{ /...
分类:
移动开发 时间:
2014-10-19 15:38:33
阅读次数:
252
Sculptor is an open source productivity tool that applies the concepts fromDomain-Driven DesignandDomain Specific Languagesfor generating high quality...
分类:
Web程序 时间:
2014-10-19 01:16:48
阅读次数:
181
打算更新AndroidSDK 版本到 Android SDK Tools 20,打开SDK Manager.exe 开始更新,结果安装时弹出错误提示:Failed to rename directory D:\android-sdk\tools to D:\android-sdk\temp\Tool...
分类:
移动开发 时间:
2014-10-18 23:36:04
阅读次数:
207
获取android屏幕上状态栏的高度方法网上很多这里不再敖述,只举一个例子Rect rect = new Rect();getWindow().getDecorView().getWindowVisibleDisplayFrame(rect);rect.top便是状态栏的高度。但是在响应的布局文件中...
分类:
移动开发 时间:
2014-10-18 20:53:54
阅读次数:
185