Designing and Developing an Application Framework
These questions are derived from the Self Test Software Practice Test forMicrosoft exam #70-549VB – PRO: Designing and Developing Enterprise Applications by Using the Microsoft .NET Framework (VB .NET)
Objective: Designing and Developing an Application Framework
SubObjective: Consume a reusable software component
Single Answer, Multiple Choice
You are an enterprise application developer for a clothing retailer. You have developed a Web application for the company to expand its business online. The Web application allows new and existing customers to make purchases online using credit cards.
You are evaluating a third-party component that will perform credit card validation and payment services. You decide to conduct integration testing to ensure the third-party component functions correctly with your existing Web application. You must determine how extensive the testing must be.
Which method should you use to conduct the integration testing?
- Use a test harness application to call each of the methods on the third-party component.
- Use the Web application to call only the required methods of the third-party component.
- Use the Web application to call each of the methods on the third-party component.
- Use the test harness application to call only the required methods of the third-party component.
B. Use the Web application to call only the required methods of the third-party component.
You will often purchase components for use in your application, or use components already developed by your company to reduce development costs. Because third-party components are developed to solve more than the current solution, these components may include more functionality than you need.
In this scenario, you are performing integration testing to assure the component works well with the rest of the application. It is only necessary to test the methods and properties that you will be using. When you perform integration testing, it is important to use the application that will be integrated with the component and equipment comparable to deployment. You would not want to use a test harness or test environment as this would be used for a unit coverage test. To ensure the component functions correctly with the application as a whole, you should test it with the existing Web application.