Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.35 KB

File metadata and controls

40 lines (25 loc) · 1.35 KB

Developer Notes

This document provides information useful to developers working on confluent-kafka-dotnet.

Building

Nuget packages are built automatically by Semaphore CI corresponding to every commit to a PR or master branch as well as release tags. For further details, inspect the .semaphore/semaphore.yml file.

Tests

Unit Tests

There are unit test suites corresponding to each nuget package. These are Confluent.Kafka.UnitTests, Confluent.SchemaRegistry.UnitTests and Confluent.SchemaRegistry.Serdes.UnitTests. To execute, enter the relevant directory and run:

dotnet test

Integration Tests

From the test/docker directory bring up the Kafka cluster with two schema registry instances (one with basic auth enabled, one without).

docker-compose up

There are integration test suites corresponding to each nuget package. These are Confluent.Kafka.IntegrationTests, Confluent.SchemaRegistry.IntegrationTests and Confluent.SchemaRegistry.Serdes.IntegrationTests.

To execute, enter the relevant directory and run:

dotnet test