Writing robust integration tests in .NET with WireMock.NET

Writing robust integration tests in .NET with WireMock.NET

Nick Chapsas

3 года назад

36,674 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Ves Puxi
Ves Puxi - 19.08.2023 21:35

Beautiful

Ответить
amazo Tv
amazo Tv - 04.10.2022 13:41

Hi Nick, can this be used with mstest framework and not xunit?

Ответить
Dima Martyshchenko
Dima Martyshchenko - 20.07.2022 13:07

Really nice ! Thanks for the video

Ответить
Chamila Ambahera
Chamila Ambahera - 18.04.2022 09:51

Good work!. Thanks Nick

Ответить
Vinícius Beloni
Vinícius Beloni - 23.08.2021 08:27

RestEase > Refit






but RestEase is inspired by Refit 🤡

Ответить
Nikhil Verma
Nikhil Verma - 07.07.2021 18:20

Nice. Do I need to dispose of wiremock server after use ?

Ответить
Peyman H.L
Peyman H.L - 14.05.2021 19:24

* Update *

I implemented WireMock and removed MounteBank implementation. The implementation become 60% smaller and better performance when running the integration tests. I am happy with WireMock. Thanks Nick :)

Ответить
Aaron Koller
Aaron Koller - 01.05.2021 16:16

Wire mock does look like a great tool. Maybe I am missing something here, why not just use the Microsoft TestServer where in the client you can use Moq to mock any external dependencies/responses?

Ответить
Marat Gumerov
Marat Gumerov - 01.05.2021 10:00

Wiremock has another great feature - forwarding (.WithProxy). For example, I have a big project, which makes a lot of different calls to the 3rd party API during the use case I want to test. And I want to mock only one of these requests. In this case I can configure wiremock to forward all requests to real API by default and then add only one extra mapping.

Ответить
Donovan Bergin
Donovan Bergin - 01.05.2021 08:22

Nice work. Been using wiremock for some time, and I'm glad to see it getting some love on your channel. I started pointing my devs to your channel as you're constantly posting useful content and do a good job at keeping on top of current features and libs. Good work, man. Thanks.

Ответить
Darian Serrano
Darian Serrano - 29.04.2021 23:11

Great demo Nick! I've been using it for a couple of years and when building micro-services with multiple externals APIs it's very helpful. One thing that maybe you could expand on this topic is how to do recordings and playbacks, I've never tried that because its not that hard to setup manual requests/responses, but maybe you have experience on this.

Ответить
James K
James K - 29.04.2021 20:10

👍🏽

Ответить
Nadav Drewe
Nadav Drewe - 29.04.2021 15:32

You’ve got a really solid channel man. One day when I can actually stop working long enough to learn something else I’m going to be deep diving.

Ответить