You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DiscordChatExporter/DiscordChatExporter.Cli.Tests
Oleksii Holub 36c9983c9e
Update test logger
3 years ago
..
Fixtures Automatically detect token kind (#764) 3 years ago
Infra Automatically detect token kind (#764) 3 years ago
Specs Use attachment description as alt text in html 3 years ago
TestData Add support for stickers (#802) 3 years ago
Utils C#10ify 3 years ago
DiscordChatExporter.Cli.Tests.csproj Update test logger 3 years ago
Readme.md Update readme 3 years ago
xunit.runner.json

Readme.md

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