Update tests readme

pull/678/head
Tyrrrz 3 years ago
parent fdc3c1b012
commit ab71b035fc

@ -6,12 +6,12 @@ In order to run these tests locally, you need to join the test server and config
1. Join the server: https://discord.gg/eRV8Vap5bm 1. Join the server: https://discord.gg/eRV8Vap5bm
2. Locate your Discord authentication token 2. Locate your Discord authentication token
3. Specify your token using a file or an environment variable: 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 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 - **Using an environment variable**: set `DISCORD_TOKEN` variable to your token
4. Run the tests: `dotnet test` 4. Run the tests: `dotnet test`
> 🟣 If you're submitting a pull request, you don't _have_ to run the tests locally -- they are executed automatically by CI. > If you're submitting a pull request, you don't _have_ to run the tests locally -- they are executed automatically by CI.
Running them locally can still sometimes be useful for debugging purposes though. Running them locally can still sometimes be useful for debugging purposes though.
> 🟣 If you want to have a new test case or a scenario added, please let me know in your pull request. > If you want to have a new test case or a scenario added, please let me know in your pull request.
Currently, it's not possible to add them by yourself. Currently, it's not possible to add them by yourself.
Loading…
Cancel
Save