This directory holds self-contained example projects for the SystemLink Enterprise APIs.
Unless otherwise specified by the example's README, each example is run in the same way:
- Clone this repo or download and extract the repository source.
- Install the .NET Core SDK.
- Navigate to the example's directory and use the
dotnet runcommand.
To run the example with a different configuration, use the following commands instead:
dotnet run --server <url> <api_key>
For example: dotnet run --server https://my_server api_key.
Please refer to this link for generating the API key
For convenience, the NISystemLinkEnterpriseExamples.sln
solution file
can be used to build all example projects at once. Some development environments
such as Visual Studio also support using
the solution file to view and run all example projects at once. Note that the
dotnet run command used to run an example requires referencing individual
projects and does not support the solution file.
- CreateResultsAndSteps: Demonstrates how to use the SystemLink Test Monitor API to publish test results to the server.
- DeleteResults: Demonstrates how to use the SystemLink Test Monitor API to create and delete test results.