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.
<PackageVersion Include="PractiTest.Api" Version="3.4.5" />
                    
Directory.Packages.props
<PackageReference Include="PractiTest.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package PractiTest.Api@3.4.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PractiTest.Api&version=3.4.5
                    
Install as a Cake Addin
#tool nuget:?package=PractiTest.Api&version=3.4.5
                    
Install as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 14,452 5/9/2023
3.0.0 875 5/8/2023
2.4.8 463 5/8/2023
2.3.5 840 4/11/2023
2.3.4 328 4/11/2023
2.1.0 2,115 2/7/2023
2.0.0 922 1/18/2023
1.7.0 765 1/17/2023
1.6.0 519 12/20/2022
1.5.0 489 12/16/2022
1.4.0 399 12/15/2022
1.3.0 452 12/14/2022
1.2.0 445 12/6/2022
1.0.12 522 11/7/2022
1.0.0 519 11/1/2022