DiscordChatExporter/DiscordChatExporter.Cli.Tests
2024-05-22 21:41:22 +03:00
..
Infra Migrate to Avalonia (#1220) 2024-04-27 04:17:46 +03:00
Specs Migrate to Avalonia (#1220) 2024-04-27 04:17:46 +03:00
Utils Refactor using c# 12 features 2023-12-10 22:38:34 +02:00
DiscordChatExporter.Cli.Tests.csproj Use compile-time serialization for settings 2024-05-22 21:41:22 +03:00
Readme.md Use local secret store for tests instead of hand-made solution 2023-01-30 12:16:47 +02:00
xunit.runner.json Get rid of xUnit fixtures 2023-02-11 23:12:15 +02:00

DiscordChatExporter Tests

This test suite runs against a real Discord server, specifically created to exercise different behaviors required by the test scenarios. In order to run these tests locally, you need to join the test server and configure your authentication token.

  1. Join the test server
  2. Locate your Discord authentication token
  3. Add your token to user secrets: dotnet user-secrets set DISCORD_TOKEN <token>
  4. Run the tests: dotnet test

Note

: If you want to add a new test case, please let me know and I will give you the required permissions on the server.