tailieunhanh - Java Testing and Design- P3

Java Testing and Design- P3: The ultimate test of every software construction effort is the user’s success using the product to accomplish some practical goal. No matter how much state-of-the-art technology goes into the software, success can only be judged through the lens of the user. | Modeling User Behavior for Meaningful Test Results 79 Table 3-1 Questions to Ask When Developing Web-Enabled Applications When users put an item in a shopping basket is it still there an hour later Did the item not appear in your shopping basket but instead appear in another user s shopping basket Did the system allow this privilege error Testing to find state and boundary problems Unit testing with intelligent agents is good at probing a Web-enabled application function with both valid and invalid data. The results show that parts of a Web-enabled application are not functioning correctly. Intelligent agents automate unit tests to streamline testing and reduce testing costs. How will the Webenabled application operate when higher-than-expected use is encountered Testing to be prepared for higher-than-expected vol umes As software is maintained old bugs may find new life. What was once fixed and is now broken again Testing to find software regression A network of intelligent test agents running concurrently will show how the Web-enabled application operates during periods of intense overuse. Intelligent test agents monitor by stepping a Web-enabled application through its functions. When new software is available the monitor tests that previously available functions are still working. Testing Web-enabled applications plays an important role in solving business issues for a company. By recognizing how tests can solve business issues the test professional learns valuable answers to important questions. Over the years I learned that the highest quality Web-enabled application systems were designed to be tested and maintained. Good system design prepares for issues such as these How frequently will components fail Are replacement parts on hand What steps are needed to replace a component What are the expected steps needed to maintain the system For example a data-intensive Web-enabled application will need index and tables data to be re-created to capture unused disk .