Generic tests : result-data interface

In the documentation a generic test is an existing program wrapped to function as a test in Visual Studio. The program has to comply with one of the following for the result to be correctly processed as pass/fail:

1. Adheres to the Visual Studio return-code interface - ie returns 0 for pass and >0 for fail
2. Adheres to the Visual Studio result-data interface

Does anyone know anything about the result-data interface? Is this still in the product?

Will

[471 byte] By [Wills] at [2007-12-16]
# 1
Wills wrote:
Wraps a program that adheres to the Visual Studio result-data interface

If the Summary Results File is enabled for the Generic Test and you set the result file as the name of an output file produced by your wrapped program (e.g. Result.html) then an error is produced upon test execution: Summary XML file does not conform to schema.

1. Where can I find details of this schema?
2. Does this define the result-data interface - ie. the wrapped program produces a XML file compliant with the schema?

Wills at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 2
If you look at the generic test editor, you will see a textbox at the bottom of the window, which allows you to specify a Summary Results File. It is this file which is used for ehancing the reporting of test harnesses wrapped with generic tests.

It is an XML file which conforms to a Schema. This Schema is located in Common7\IDE\PrivateAssemblies\SummaryResult.xsd. If you specify a file that confirms to this format, then you will be able to see detailed results.

dhoptonMSFT at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 3
Many thanks
Wills at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...
# 4
Please note that the location of SummaryResult.xsd may be changed in the final release of VS 2005. The current plan is to move it to "Program Files\Microsoft Visual Studio 8\Xml\Schemas".

Leo Huang
Dev, VSTS

LeoHuang at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...

Visual Studio Team System

Site Classified