Skip to content

Protocol Test Framework 2.0 (Build 2.0.0)

Compare
Choose a tag to compare
@yazeng yazeng released this 16 Sep 08:19
· 42 commits to main since this release

Welcome to the Protocol Test Framework v2.0 (Build 2.0.0) release!

We're excited to announce that Protocol Test Framework 2.0.0 cross-platform support is available on Nuget, meaning that PTF now can run on Windows, Linux, and macOS operating systems.
 

What's New

  • The PTF now is based on .NET core and supports cross-platform operating systems.
  • The dependency on Spec Explorer no longer exists.
  • The PTF is released as a NuGet package, which will be built within Test Suite binaries side-by-side.

Bug Fixing and Improvements

  • AdapterProxyBase using DispatchProxy has been re-implemented.
  • The PowerShell adapter has been re-implemented.
  • The classes ProtocolTestsManager, TestClassBase, and PtfTestClassBase have been rewritten to remove the Spec Explorer dependency.
  • The pass rate for Test Reports has been fixed.
  • Unused functions and data structures have been cleaned from the project.
     

Features Migrated from Previous .NET Framework Version

The following are a subset of features migrated from PTF v1.0.7500.0 to PTF v2.0.0 which uses .NET Core v3.1:

  • Default test environment
  • PTF Configuration
  • PowerShell Adapter
  • Managed Adapter
  • File Logging
  • Console Logging
  • Test validation and verification
     

Note

The development and release of the PTF based on .NET Framework has desisted. Protocol Test Framework version 1.0.7500.0 is the last version that supports the .NET Framework.
The previous version v1.0.7500.0 based on the .NET Framework cannot work with Test Suites after version v3.20.1.0. If you want to continue using a PTF version that supports the .NET Framework, you can use a previously released PTF version, or otherwise, contact us via a GitHub Issue for new features.