摘要:
PICT是微软推出的一款自动生成测试用例的小工具。体积很小(不到1MB),而且使用起来简单方便。下面通过一个例子展示一下它的能力:根据这些条件, 我们设定的模型如下:User name: NULL, not exist, too long, too short, legalPassword: NUL... 阅读全文
摘要:
这篇文章主要将要介绍JUnit测试工具的使用。本文中待测试的对象为一个简单的Calculate类,包括加(add),减(substract),乘(multiply),除(divide)四个简单的方法。 1 public class Calculate { 2 3 public st... 阅读全文
摘要:
Source Monitor is a code analyzing tool that is capable of finding the complexity for Java, C++、C、C#、Delphi、Visual Basic and HTML source codes. It's a... 阅读全文
摘要:
FindBugs is an useful tool that can find potential problematic code in your Java program. It differs from CheckStyle and PMD in that it analyzes Java ... 阅读全文
摘要:
In this tutorial I'll introduce another tool to help find possible problems in your code, PMD. It will check for empty blocks, unused variables or par... 阅读全文
摘要:
StyleCheck is an application that helps you to make sure your code comforms to the standard coding style.This tutorial will walk you through the insta... 阅读全文