DiscordChatExporter/DiscordChatExporter.Cli.Tests
2022-08-25 20:22:10 +03:00
..
Fixtures More test stuff 2022-06-30 19:07:11 +03:00
Infra Automatically detect token kind (#764) 2022-01-03 14:52:16 -08:00
Specs Render consecutive twitter embeds as on 2022-06-30 20:56:44 +03: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 Update nuget packages 2022-08-25 20:22:10 +03:00
Readme.md Update readme 2022-04-16 18:48:39 +03:00
xunit.runner.json Basic automated tests through the CLI 2021-07-19 20:09:35 +03: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. Specify your token using a file or an environment variable:
    • Using a file: put your token in a new DiscordToken.secret file created in this directory
    • Using an environment variable: set DISCORD_TOKEN variable to your token
  4. Run the tests: dotnet test

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