DiscordChatExporter/DiscordChatExporter.Cli.Tests
2023-02-09 18:44:24 +02:00
..
Fixtures Render server cross-posts properly 2023-02-09 18:44:24 +02:00
Infra Use local secret store for tests instead of hand-made solution 2023-01-30 12:16:47 +02:00
Specs Render server cross-posts properly 2023-02-09 18:44:24 +02:00
TestData More test stuff 2022-06-30 19:07:11 +03:00
Utils C#10ify 2021-12-08 23:50:21 +02:00
DiscordChatExporter.Cli.Tests.csproj Use local secret store for tests instead of hand-made solution 2023-01-30 12:16:47 +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 Render server cross-posts properly 2023-02-09 18:44:24 +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.