We’ll compare some code written with Either with similar code written using Exceptions and see how they are the same and how they differ.
Archive: February 2023
WireMock is a stub framework that helps you create stubs for outgoing HTTP traffic during your tests. Most people use WireMock in their test suite during build time of the application. Spin up the WireMock server, configure some stub rules, run the application tests, and tear everything down. This is a good way of testing your HTTP clients, using real traffic towards an external server.