在研究众多其它软件开发项目后,我们认为软件开发人员(在这种情况下,也就是测试人员)必须做到:
o understand the requirements;
理解需求;
o adopt an architecture that allows us to efficiently develop, integrate, and maintain our features and data;
采用一个能使我们能有效开发、集成以及维护特性和数据的架构;
o adopt and live with standards. (I don’t mean grand schemes like ISO 9000 or CMM. I mean that it makes sense for two programmers working on the same project to use the same naming conventions, the same structure for documenting their modules, the same approach to error handling, etc.. Within any group of programmers, agreements to follow the same rules are agreements on standards);
采用并遵守标准。(我不是指如ISO 9000 或者CMM这样的大型标准。我的意思是务必使在同一个项目中的两个程序员使用相同的命名规则、相同的模块文档结构、相同的错误处理方法等。在任何一个程序员团队中,遵守相同规则本身就是一种标准)
o be disciplined.
遵守纪律。
Of all people, testers must realize just how important it is to follow a disciplined approach to software development instead of using quick-and-dirty design and implementation. Without it, we should be prepared to fail as miserably as so many of the applications we have tested.
在所有人中,测试人员必须认识到,遵循一个规范方法而不是为了图快而不保证质量地去设计与实现,这对于软件开发很重要。否则,我们就只能面临失败,与我们已测试的众多应用程序的失败结局一样。
3.Use a data-driven architecture. [6]
3.使用数据驱动的架构
In discussing successful projects, we saw two classes of approaches, data-driven design and framework-based design. These can be followed independently, or they can work well together as an integrated approach.
在对成功项目的讨论中,我们可以看到两类方法:数据驱动设计和基于框架设计。它们既可以被单独遵循,也可以被综合起来使用。
A data-driven example: Imagine testing a program that lets the user create and print tables. Here are some of the things you can manipulate:
下面是一个数据驱动设计的例子:假设要测试一个让用户创建并打印表格的程序。以下是你能操控的事情:
o The table caption. It can vary in typeface, size, and style (italics, bold, small caps, or normal).
文章来源于领测软件测试网 https://www.ltesting.net/