Having bought a cargo bike for moving my kids around – well knowing that the factory installed hub motor was underpowered, it also turned out that my recent purchase had a broken battery. Diving into stuff like this is always quite rewarding when it comes to obtaining new knowledge –…
-
-
-
Integration testing Azure Functions can be approached somewhat similar to how one may write integration tests for WebAPIs. The key difference is that while an HTTP test server will actually trigger your resources in the API, you will need to trigger the method in your function to be tested by…
-
The other day, the site went down because of a failed attempt to upgrade MySQL. At first glance, it was quite self-explanatory – something was missing somewhere. The something part was obviously general_log.CSV and the somewhere part would seem to be the the MySQL datadir. At this point, MySQL refused…
-
After recently having written about a possible approach to integration test an OWIN/EFCore setup, I thought I would share a minimal setup for doing the same with ASP.Net Core WebAPI and Entity Framework Core. There are a lot of great examples out there, and the documentation is really good –…
-
Building WebAPIs using an ‘integration-test-first-approach’ can save you a lot of time. Letting your tests do the heavy lifting will surely pay out almost instantly. Used together with automated concurrent testing tools like nCrunch or Live Unit Testing in Visual Studio, you will get instant feedback and test your API…