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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding throwsMany exception #955

Merged
merged 4 commits into from Nov 2, 2022

Conversation

daniel-dios
Copy link
Contributor

@daniel-dios daniel-dios commented Oct 27, 2022

Hi team! 馃槵馃
This is @antonio-manuel and @daniel-dios from @n26!

Since we are testing Kafka ErrorHandlers we wanted to stub a method to return 10 times a given exception and then success with this amazing library 馃檶

We are proposing this two new methods to make test even clearer!

Thanks a lot
馃挀

daniel-dios and others added 2 commits October 27, 2022 17:19
Co-authored-by: antonio-manuel <contacto@antoniolopez.eu>
Co-authored-by: antonio-manuel <contacto@antoniolopez.eu>
@daniel-dios daniel-dios marked this pull request as ready for review October 27, 2022 15:40
@daniel-dios daniel-dios changed the title throwsMany Adding throwsMany exception Oct 27, 2022
@Raibaz
Copy link
Collaborator

Raibaz commented Oct 28, 2022

LGTM

Can you please also add documentation for this in the README.md file?

Thanks!

Co-authored-by: daniel-dios <daniel.schezdios@gmail.com>
@antonio-manuel
Copy link
Contributor

antonio-manuel commented Oct 28, 2022

LGTM

Can you please also add documentation for this in the README.md file?

Thanks!

Hey, thanks for your comment, we just updated the documentation.

We noticed we had to update the mockk-dsl.api, but we didn't found in the documentation any reference to this file, what is the purpose of it? Should it be included in the CONTRIBUTION file?

Also, the pipeline is not running with my commits, do I need any granted permissions for that?

Co-authored-by: daniel-dios <daniel.schezdios@gmail.com>
@daniel-dios
Copy link
Contributor Author

ping @Raibaz 馃懠

@Raibaz Raibaz merged commit d1a4acd into mockk:master Nov 2, 2022
@daniel-dios daniel-dios deleted the add-throw-many-exceptions branch November 2, 2022 10:19
@daniel-dios daniel-dios restored the add-throw-many-exceptions branch November 2, 2022 10:19
@daniel-dios daniel-dios deleted the add-throw-many-exceptions branch November 2, 2022 12:37
@daniel-dios daniel-dios restored the add-throw-many-exceptions branch November 2, 2022 12:38
@daniel-dios daniel-dios deleted the add-throw-many-exceptions branch November 2, 2022 12:38
@daniel-dios daniel-dios restored the add-throw-many-exceptions branch November 2, 2022 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants