Stress test the design, while not cold

2008-02-02  来源:本站原创  分类:Development  人气:64 

Unit testing ensures that the local behavior of the code is implemented in accordance with design intent, but the unit tests can only cover part of the logic, the logic necessary to introduce some integration testing. However, many kinds of bug or difficult to test coverage, then the system is particularly rely on good design, good design simplifies unit testing, so deep logic becomes simple, thereby allowing more logic becomes measurable . Bad design makes unit testing be a burden and often lead to duplication of tests and difficult to understand the test.
Here of course, is that good design means simple design, but sometimes "simple" word has become a "cold" design an excuse. Simple design is not simple, it is not easy to meet four standards, "simple" word should not be our one thinks, even the stupid design excuse. Here could not help but mention that girls are often told the boy: "I do not need another, as long as you really care about me, that you can not do it!?", I said, it is difficult, the simple interest need to interpret life, and far beyond the four standard Burongyia. "Simple" needs skill, "really care about a person" is a great martial arts.
Testing needs to be emphasized, design, needs to be done.

相关文章
  • Stress test the design, while not cold 2008-02-02

    Unit testing ensures that the local behavior of the code is implemented in accordance with design intent, but the unit tests can only cover part of the logic, the logic necessary to introduce some integration testing. However, many kinds of bug or di

  • Large forum such as the design of the database table structure 2011-03-02

    Do not consider this issue first, according to business requirements to design. After completion of performance testing, and then determine whether to optimize the database, according to the performance test results to develop optimal solutions. You

  • Project development process - is reproduced 2010-08-04

    Software process, a software engineer summary Simple design The stability of the current development framework, the specific services designed to delayed, developers can design a simple interface and quick access to specific versions of iteration, th

  • Misunderstanding of software test cases 2010-09-14

    Software testing use case is to find software defects effectively prepared include the purpose of testing, test steps, expected results of the specific collection. Test cases to correctly understand and design software can improve the effectiveness o

  • java package design principles 2009-08-25

    A typical J2EE project, package design has matured through the routine, such as the two domain, dao, service, action, etc., functions have been decomposed and clear comparison of a single, circular to rely on such a case not much. Java in general, su

  • Web design of the latest trends in the world 2010-07-27

    Taken from: http://www.programmer.com.cn/3495/ 19 years ago, the world's first web page was born, it is not designed at all, by the text and url form, style, only the most basic <h1> <p>. Today, Web design has grown into a large independent de

  • Prototype design 2009-05-10

    Product designers are often long-term status in a dialogue. The first is a dialogue with his own: Whether or not my mind right? Have not left out of place? What is the relationship between the various parts? And yes with the UI design, with the R & D

  • The security of e-commerce website design and management 2009-07-05

    The design of e-commerce website security needs 1. Network Security: how to prevent attacks on e-commerce site of the attack or equipment 2. Transaction security: trade secrets of how to guard against leakage of the process, to deceive, deny, etc. 3.

  • Actual DDD (Domain-Driven Design Domain-Driven Design: Evans DDD) 2009-09-11

    And the field of object-oriented modeling Azeri Panchiao http://www.jdon.com 2006/12/6 (reprint requests to retain) If there is no changing needs, perhaps there would be no today's object-oriented software, we have tried, through demand management, d

  • Content design, the initial content 2009-10-03

    Original Address: http://uicom.net/blog/?p=719 Content Design (content design) related to product demand that is also related to (and users) the interaction of specific aspects of the process. PM Most of the team will only work involved, generally no

  • [Reproduced] low performance of small-scale low-flow site design principles 2008-10-16

    What is a large-scale everywhere, ah, ah high flow, high-performance sort of site architecture design, these articles satisfy people's curiosity first, but after reading the reports also seen the actual benefits may not be large; another one Side eff

  • Web Application Stress Tool stress test tools 2010-03-19

    With the rapid development of Web 2.0 technologies, many companies have developed a number of Web-based Web services, usually in the design and development of Web applications, when it is difficult to simulate large numbers of users to access the sys

  • Color standard cards - design necessary 2010-03-16

    Color scheme of First, a sense of warm red color, Unyielding and outgoing personality is a strong irritant to the people of color. Red easily cause people's attention, but also easy to make people excited, excited, nervous, impulsive, or an easy visu

  • Environmental low-alkali cold pad-batch pre-treatment process 2010-02-14

    Keywords: environmental protection, low-alkali, cold pad, pre-treatment, process Hong Sheng Group Limited money Qinfang cold pad-batch pre-treatment process is an economic, environmental, technological production process is shorter. Our dyeing Nylon

  • Cold pad-batch processing of cotton fabric processing 2010-02-16

    Yao Jiming, Sai-Nan Wei, Dong Yulin, Animal Husbandry and Veterinary (Hebei University of Technology Institute of Textiles and Apparel, Shijiazhuang 050031) O preface medium weight cotton fabric pretreatment process used in cold pad-batch process, ca

  • Hydraulic device in cold pad-batch dyeing process before treatment application 2010-02-16

    Keywords: printing pre-treatment, cold pad, piling, hydraulic transmission 0 Introduction of the first printing production process - pre-treatment process, which aims to damage the fiber in all but the premise, as far as possible to remove out of the

  • Software architecture design points 2010-03-26

    Today's software industry, software architecture decisions, and the software is good or bad. Other than people like skeleton, skeleton, etc. If people are not good, then people are very vulnerable. Software architecture in software engineering that w

  • Changzhou Jun Hong - energy saving root of the problem - cold pad-batch dyeing yarn project description (3) 2010-02-16

    Keywords: energy conservation, yarn, cold pad-batch dyeing, Projects (4) process synergies. Although the steps of the technology and equipment more, more units, such as yarn, pre-treatment, drying, dyeing, cold pad-batch, set the key steps in first c

  • Changzhou Jun Hong - energy saving root of the problem - cold pad-batch dyeing yarn Projects (2) 2010-02-16

    Keywords: energy conservation, yarn, cold pad-batch dyeing, Projects The key technology and equipment as follows: (1) formation of six core and key technologies. ① high penetration of new technology, replacing traditional yarn dyed in the scouring an

  • Cold pad-batch dyeing reactive dyes detail (1) 2010-02-18

    Keywords: 1.1 Introduction In recent years, as the people's material and cultural living standards rising, people wear clothing color and comfort have become increasingly demanding. Therefore, significant increase in net sales of brown fabric. So tha