zeebe-client-csharp icon indicating copy to clipboard operation
zeebe-client-csharp copied to clipboard

Could BaseZeebeTest.cs be provided as part of a nuget package?

Open simonvane opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. Unit testing using mocks is proving to be quite awkward. I saw BaseZeebeTest.cs and using that seemed like a much easier way to test.

Describe the solution you'd like I'd like BaseZeebeTest.cs (and all of the code it uses) to be made available as part of a nugget package so that my XUnit tests can inherit from BaseZeebeTest and use TestService.Requests to assert on similar to tests in https://github.com/zeebe-io/zeebe-client-csharp/blob/master/Client.UnitTests/PublishMessageTest.cs

Describe alternatives you've considered We are currently testing using mocks e.g. mocking IPublishMessageCommandStep but it is quite cumbersome and unintuitive.

simonvane avatar Jun 24 '20 10:06 simonvane