PractiTest.Api 3.4.5

dotnet add package PractiTest.Api --version 3.4.5                
NuGet\Install-Package PractiTest.Api -Version 3.4.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PractiTest.Api" Version="3.4.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PractiTest.Api --version 3.4.5                
#r "nuget: PractiTest.Api, 3.4.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PractiTest.Api as a Cake Addin
#addin nuget:?package=PractiTest.Api&version=3.4.5

// Install PractiTest.Api as a Cake Tool
#tool nuget:?package=PractiTest.Api&version=3.4.5                

Adding practitestsettings.json File

  1. After installing the Nuget Package, ensure to add practitestsettings.json file to the project

  2. The skeleton json file can be obtained from the path,
    C:\Users{WindowsUser}\.nuget\packages\practitest.api\1.0.0\contentFiles\any\any\practitestsettings.json

  3. Set file property, as Copy to Output Directory: Copy if newer

Adding Values to JSON Keys

Values must be supplied to following keys in-order to use the APIs ProjectName, Token, TestSetName, BuildVersion

Using the APIs

Example: CloneAndUpdateStatusForMultipleTests

Ensure List<TestRunInfo> class object is initialized and assigned with valid FeatureName (Test: Automation Name) , ExitCode, RunDuration, FilesWithPath (List of Files as attachments for each test case, a screenshot of a failed test case as an example).

This API method can either directly update test results for an existing test set or clone and update the test set.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.4.5 12,889 5/9/2023
3.0.0 749 5/8/2023
2.4.8 205 5/8/2023
2.3.5 661 4/11/2023
2.3.4 232 4/11/2023
2.1.0 1,778 2/7/2023
2.0.0 815 1/18/2023
1.7.0 658 1/17/2023
1.6.0 387 12/20/2022
1.5.0 367 12/16/2022
1.4.0 312 12/15/2022
1.3.0 337 12/14/2022
1.2.0 341 12/6/2022
1.0.12 400 11/7/2022
1.0.0 407 11/1/2022