cd src
dotnet build
dotnet test --filter Category!=Integration
The integration tests use Testcontainers and a container runtime is required (e.g. Docker).
However, some tests require cloud infrastructure (AWS, Azure). SMB has message brokers set up in the cloud (secrets not shared) for its GitHub actions pipeline.
To run tests you need to update the secrets.txt
to match your cloud infrastructure or local infrastructure.
Run all tests:
dotnet test
Run all tests except integration tests that require local/cloud infrastructure:
dotnet test --filter Category!=Integration