cs-codex-dist-tests/docs/LOCALSETUP.md

14 lines
881 B
Markdown
Raw Permalink Normal View History

2023-05-01 14:26:26 +00:00
# Distributed System Tests for Nim-Codex
## Local setup
These steps will help you set up everything you need to run and debug the tests on your local system.
### Installing the requirements.
2024-10-10 09:54:42 +00:00
1. Install dotnet v8.0 or newer. (If you install a newer version, consider updating the .csproj files by replacing all mention of `net8.0` with your version.)
2023-05-01 14:26:26 +00:00
1. Set up a nice C# IDE or plugin for your current IDE.
1. Install docker desktop.
1. In the docker-desktop settings, enable kubernetes. (This might take a few minutes.)
2023-05-02 05:46:17 +00:00
### Running the tests
2023-09-21 12:39:41 +00:00
Most IDEs will let you run individual tests or test fixtures straight from the code file. If you want to run all the tests, you can use `dotnet test`. You can control which tests to run by specifying which folder of tests to run. `dotnet test Tests/CodexTests` will run only the tests in `/Tests/CodexTests` and exclude the long tests.