WebSphere Studio Application Developer Version 5 Programming Guide part 63

WebSphere Studio Application Developer part 63 provides integrated development tools for all e-business development roles, including Web developers, Java developers, business analysts, architects, and enterprise programmers. The customizable, targeted, role-based approach of WebSphere Studio Application Developer will be characteristic of all new products built on the WebSphere Studio Workbench. It is well integrated with WebSphere Application Server and provides built-in server test environments that can be used for testing and profiling Web applications | Running a Java test case In the Component Test perspective in the Execution view right-click Banking Test Case 1 and then select Run from the context menu. This is shown in Figure 17-17. Figure 17-17 Run BankingTestCase 1 in the execution view The run test case wizard opens as shown in Figure 17-18. Here you give a name to this execution. Figure 17-18 Define the name of the execution Click Next then you select the host to run the tests on as shown in Figure 17-19. In our case we will use the localhost. You could however execute tests on any server that has the IBM Agent Controller installed. New hosts can be defined by clicking New Host. 594 WebSphere Studio Application Developer Version 5 Programming Guide Figure 17-19 Define the host where the test case will be executed Click Next and you are taken to the final page of the wizard which allows you to describe the execution. After you have done that click Finish to begin executing the test case. When the execution is running you will see next to the execution in the execution view. After it has completed the running man disappears. Report test case results Upon completion of execution you can generate reports to analyze the test results. To do so select a completed execution and select Report from the context menu Figure 17-20 . Figure 17-20 Report results of an execution Chapter 17. JUnit and component testing 595 The new report wizard opens Figure 17-21 . Here you can select the type of report to generate. Each report provides different details. In our case we select HTML Report - All html . Figure 17-21 Select report to generate Select the Open browser check box and make sure the Open editor check box is not selected. If you select both the new report will open twice. Click Next to proceed to the next page of the wizard where you select the output location of the report Figure 17-22 . In a larger application you could organize reports into folders of a project. In our case we will simply generate the report in .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
18    94    2    01-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.