The Protocol Test Framework (PTF) is designed to support Microsoft Protocol Test Suites for both Windows and Office Protocol Interoperability testing.
C# JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs Fix few typos in user guide Mar 8, 2017
samples/XXXX_ProtocolTestSuite PTF initial commit Aug 7, 2015
src Fixed relative paths in htmltestlogger resource files to use forward … Sep 21, 2017
.gitattributes Update resource files Oct 22, 2015
.gitignore
CONTRIBUTING.md PTF initial commit Aug 7, 2015
LICENSE.txt
README.md Update Readme.md to add code of conduct Jul 11, 2016

README.md

Protocol Test Framework

The Protocol Test Framework (PTF) is designed to support Microsoft Protocol Test Suites for both Windows and Office Protocol Interoperability testing. It implements the fundamentals to support Protocol Test Suite, including logging, checker, configuration and etc.

Prerequisites

PTF is based on Windows platform. You should install the following list of software in order to build PTF from source code.

  • .Net framework 4.0 or higher
  • Wix toolset v3.10
  • Visual Studio or Visual Studio test agent, version 2012 or higher
  • Spec Explorer. It is only required if you want to build a PTF version that supports the test suites which contain Model-Based Test cases.

Build

After you clone a copy of this repo, change to the ProtocolTestFramework directory:

cd ProtocolTestFramework

PTF can be built into two versions:

  • The nomodel version is used to support the protocol test suite that does not contain Model-Based Test cases, change to src directory and run build.cmd
    cd src
    build.cmd
    

After the build succeeds, ProtocolTestFrameworkInstaller.msi should be generated in the folder drop\ProtocolTestFramework\installer.

  • The formodel version is used to support the protocol test suite that contains Model-Based Test cases, you should install Spec Explorer first and then build PTF with the option formodel.
    cd src
    build.cmd formodel
    

After the build succeeds, ProtocolTestFrameworkInstallerForModel.msi should be generated in the folder drop\ProtocolTestFramework\installer.

Samples

You can find samples of how to develop a protocol test suite using PTF here.

Documentation

  • User Guide describes the features of PTF, and how to use them to develop a new protocol test suite.

Contribute

You can find contributing guide here.

License

PTF is under the MIT license.

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.