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 789e5af8ba
Include inline emoji in JSON export (#1311)
3 weeks ago
..
Infra Include inline emoji in JSON export (#1311) 3 weeks ago
Specs Include inline emoji in JSON export (#1311) 3 weeks ago
Utils Refactor using c# 12 features 12 months ago
DiscordChatExporter.Cli.Tests.csproj Bump the nuget group with 7 updates (#1313) 3 weeks ago
Readme.md Use local secret store for tests instead of hand-made solution 2 years ago
xunit.runner.json Get rid of xUnit fixtures 2 years ago

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. 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.