DiscordChatExporter/DiscordChatExporter.Cli.Tests
2023-02-23 01:05:26 +02:00
..
Infra Remove unused usings 2023-02-14 21:23:15 +02:00
Specs Fix more sticker tests 2023-02-23 01:05:26 +02:00
Utils Use a fixed timezone in tests 2023-02-12 17:43:45 +02:00
DiscordChatExporter.Cli.Tests.csproj Update NuGet packages 2023-02-12 17:46:14 +02: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.