Skip to content

Commit

Permalink
Update Readme.md (#3524)
Browse files Browse the repository at this point in the history
* Update Readme.md

* Update Tests/Readme.md
  • Loading branch information
papafe authored Feb 16, 2024
1 parent 965a1b2 commit 0d55730
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Tests/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ run against cloud are located in the Scripts folder. Currently we have:
* DeployApps.ps1 - imports the apps located in TestApps and links them to the specified cluster.
* RemoveApps.ps1 - removes all Atlas App Services apps for the specified project.

## Note on logs

Methods like `Console.WriteLine`, `Debug.WriteLine`, `TestContext.WriteLine` are unreliable in `NUnit`, so if you need to get logs it's recommended to set the default Realm logger to use a file logger, like this:
```
Logger.Default = Logger.File(filePath);
```
## Unity
The Unity tests are somewhat special, not only because they don't use MSBuild and Visual Studio to build and run, but because they need to be run
Expand Down Expand Up @@ -87,4 +94,4 @@ UWP certficates are generated for 1 year at a time. This means that they need to
4. Call `[System.Convert]::ToBase64String([IO.File]::ReadAllBytes("$pwd\Tests\Tests.UWP\Tests.UWP_TemporaryKey.pfx")) | Set-Clipboard` from the repo root. This will base64 encode the certificate and copy it to clipboard.
5. Go to `https://github.com/realm/realm-dotnet/settings/secrets/actions` and update the following secrets
* `BASE64_ENCODED_PFX` with the content of the certificate we copied in 4.
* `PFX_PASSWORD` with the password generated in 3.
* `PFX_PASSWORD` with the password generated in 3.

0 comments on commit 0d55730

Please sign in to comment.