PractiTest.Api
3.4.5
dotnet add package PractiTest.Api --version 3.4.5
NuGet\Install-Package PractiTest.Api -Version 3.4.5
<PackageReference Include="PractiTest.Api" Version="3.4.5" />
<PackageVersion Include="PractiTest.Api" Version="3.4.5" />
<PackageReference Include="PractiTest.Api" />
paket add PractiTest.Api --version 3.4.5
#r "nuget: PractiTest.Api, 3.4.5"
#:package PractiTest.Api@3.4.5
#addin nuget:?package=PractiTest.Api&version=3.4.5
#tool nuget:?package=PractiTest.Api&version=3.4.5
Adding practitestsettings.json File
After installing the Nuget Package, ensure to add practitestsettings.json file to the project
The skeleton json file can be obtained from the path,
C:\Users{WindowsUser}\.nuget\packages\practitest.api\1.0.0\contentFiles\any\any\practitestsettings.jsonSet 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 | Versions 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. |
-
- Microsoft.AspNet.WebApi.Core (>= 5.2.9)
- Microsoft.Extensions.Configuration (>= 6.0.1)
- Microsoft.Extensions.Configuration.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 6.0.1)
- Microsoft.Extensions.Configuration.Json (>= 6.0.0)
- Microsoft.NET.Test.Sdk (>= 17.3.2)
- Microsoft.NETFramework.ReferenceAssemblies (>= 1.0.3)
- Nancy (>= 2.0.0)
- Newtonsoft.Json (>= 13.0.1)
- NUnit (>= 3.13.3)
- System.Net.Http (>= 4.3.4)
- System.Net.Http.Formatting.Extension (>= 5.2.3)
- System.Web.Http.Common (>= 4.0.20126.16343)
- Vse.Web.Serialization.ControlledSerializationJsonConverter (>= 1.0.4)
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 |