Microsoft .NET WCF (Windows Communication Foundation) allows for the creation of rich web services. However, due to proprietary service bindings (protocols) and complexities within the WS-* standards that it supports, .NET WCF poses testing challenges. Given this, the Microsoft environment truly necessitates a "SOA-Aware" and "WCF-Aware" testing solution such as Parasoft SOA Quality Solution. For details, see .NET WCF HTTP, .NET WCF TCP and .NET WCF Flowed Transactions.
In addition, Parasoft SOA Quality Solution integrates with Microsoft Visual Studio Team System (VSTS) Edition for Testers. Integration with MS VSTS allows for the management and execution of test projects, and obtaining results directly within Visual Studio, thereby streamlining testing for users of VSTS within their Visual Studio native environment.
Microsoft Visual Studio Team Edition for Software Testers is part of the Visual Studio Team System (VSTS) platform. It allows for creating, managing, sharing and executing tests within Visual Studio. Parasoft SOAtest includes the capability to integrate with MS VSTS so that SOAtest functional tests can be managed and executed within the Visual Studio IDE and the results of execution are directly displayed within Visual Studio. This enables teams that use the VSTS platform to integrate SOAtest into their process in order to streamline their joint Microsoft and Parasoft solutions, and to further the return on investments made in the existing infrastructure.
The following sections describe how to integrate Parasoft SOAtest with MS VSTS for Software Testers. These instructions were written for VSTS 2005.
Sections include:
This section describes the process of creating a new VSTS test case within Visual Studio and associating it with an existing Parasoft SOAtest project (.tst) file. To create a new VSTS test case:
C:\Program Files\Parasoft\SOAtest\[soatest version number]\soatestcli.exe
-config "user://Example Configuration" -visualStudio xmlReport -resource testSuite -report htmlReport
-config "user://Example Configuration" -visualStudio C:\report\calculator.xml -resource calculator_project\calculator.tst -report
C:\report\calculator.xml.details.html
calculator.tst
in a project called calculator_project
in the workspace. The HTML file name should be xml file name + .details.html.Now that the Visual Studio generic test has been associated with a SOAtest project file, you may now run it. You can do so by running the entire test project from the tool bar or right-clicking on that particular test in the Test View and selecting Run Selection.
Once execution of one or more SOAtest tests finishes, a summary of results is shown in the Test Results window within Visual Studio:
Notice the results count (2/4 in the figure above). This means that 2 SOAtest test cases out of 4 have passed. A test case could be a SOAP Client test, or another tool test within a SOAtest test suite.
To view details, double-click on the test rule row (on the test name in the figure above)
The Inner Test Results area displays pass/fail results for each SOAtest test case along with the error message. The Summary File area shows an HTML rendered view of the execution report, similar to the report that SOAtest can generate in a standalone execution.
Reporting Results from the Command LineYou can also report results to VSTS using the |