Orangebeard | Build | Install
- Clone this repository
- Open in a .Net IDE
- Reference the Orangebeard.Client DLL (Find it on NuGet)
- Build the Logger DLL
- Get the logger from NuGet, or build it yourself
- Reference the Logger in your Solution, make sure it is copied to your output directory
- Configure the logger using json or environment variables
- Run using vstest.console using /Logger Orangebeard, or via dotnet test -l Orangebeard
- To run from inside VS, use a runsettings file:
<?xml version="1.0" encoding="UTF-8"?>
<RunSettings>
<RunConfiguration>
<TestAdaptersPaths>.</TestAdaptersPaths>
</RunConfiguration>
<LoggerRunSettings>
<Loggers>
<Logger friendlyName="Orangebeard">
<Configuration>
<TestSet.Description>Unit Test Run From VS</TestSet.Description>
</Configuration>
</Logger>
</Loggers>
</LoggerRunSettings>
</RunSettings>Configuration: orangebeard.json
{
"endpoint": "https://app.orangebeard.io/my-org",
"accessToken": "listener-access-token",
"project": "projectname",
"testset": "My Test Suite",
"description": "A description",
"attributes": [
{
"key": "Tool",
"value": "VS"
}
],
"reference_url": "https://docs.orangebeard.io/"
}
Now run your test as you normally do and see the results fly in to Orangebeard!