Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
simonvane opened this issue Jun 24, 2020 · 0 comments
Open

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

simonvane opened this issue Jun 24, 2020 · 0 comments
Assignees
Labels

Comments

@simonvane
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants