This repository contains a C#/NuGet library that abstracts out API functionality for Relativity test setup and teardown.
This repository builds with Powershell through the .\build.ps1 script.
It supports standard tasks like .\build.ps1 compile, .\build.ps1 test, and .\build.ps1 package.
Run through the standard compile and (unit) test tasks. These can be done without any external environment to test on.
.\build.ps1 compile
.\build.ps1 testTo do the rest of the testing, we need to provide an instance of Relativity to test against. This should ideally be an ephemeral one that we can throw away afterwards.
Before we can run the tests, we'll need to provide a runsettings file that points the tests to the instance of Relativity that is being tested against.
cd ../Relativity.Testing.Framework
./DevelopmentScripts/New-TestSettings.ps1 -ServerBindingType "https" -RelativityHostAddress "TheOneSut" -AdminUsername "[email protected]" -AdminPassword "TheOnePassword1!"
Run Tests:
- Attach your runsettings to the solution in Visual Studio.
- Use the built in test runner.