2021-07-24 11:15:16 -04: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.
|
|
|
|
|
2022-04-16 11:48:39 -04:00
|
|
|
1. [Join the test server](https://discord.gg/eRV8Vap5bm)
|
2021-07-24 11:15:16 -04:00
|
|
|
2. Locate your Discord authentication token
|
2023-01-30 05:16:47 -05:00
|
|
|
3. Add your token to user secrets: `dotnet user-secrets set DISCORD_TOKEN <token>`
|
2021-07-24 11:15:16 -04:00
|
|
|
4. Run the tests: `dotnet test`
|
|
|
|
|
2023-01-30 05:16:47 -05:00
|
|
|
> **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.
|