-
Notifications
You must be signed in to change notification settings - Fork 33
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
Improve tests for Kafka topic create and update #361
Conversation
94f7478
to
de54082
Compare
de54082
to
ddca8ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Syntattically it's fine, I'm asking a couple of question to understand also the semantics.
Are we executing similar tests in an end to end scenario against a real system?
Because they seems like a contract testing about the shape of the expected data. But, if we don't test that the provider is compliant with this specification, both the systems can succeed with the test suite but in reality they are talking a different language when deployed together they can fail.
Also here we have a dynamicity in the shape inside the test. We are not enforcing that the reply is of a certain shape but we are only enforcing that is containing exactly the same data that we have given to the other component, maybe we want also to have a set of keys that we expect always to have?
No, we don't have end-to-end tests for this client (except for some internal Aiven testing). Most tests in |
I don't understand this. Could you elaborate? |
Now I got everything, sorry for not understanding it initially! |
No description provided.