Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 768 Bytes

build.md

File metadata and controls

30 lines (20 loc) · 768 Bytes

Building and Testing

Run Build

cd src
dotnet build
dotnet test --filter Category!=Integration

Run Tests

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