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" />
paket add PractiTest.Api --version 3.4.5
#r "nuget: PractiTest.Api, 3.4.5"
// 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
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. |
-
- 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 | 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 |