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.
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.
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.
You can find samples of how to develop a protocol test suite using PTF here.
- User Guide describes the features of PTF, and how to use them to develop a new protocol test suite.
You can find contributing guide here.
PTF is under the MIT license.
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.