Articles - Hosting.Work


Automated UI Testing with Selenium in ASP.NET Core

Updated on: August 18, 2021

Automated UI testing can be performed with Selenium library. In this tutorial I will perform UI testing of an ASP.NET Core app with Selenium. Selenium supports all the major browsers, for this article I will test only the Chrome browser. This is because writing test for other browsers are exactly similar and you can do that by yourself. The source codes of this tutorial can be downloaded from my GitHub Repository.

(more…)

How to perform Integration Testing in ASP.NET Core

Updated on: August 18, 2021

Integration Testing ensures that the app components work correctly together. These components could be a controller and Entity Framework Core, integration testing will ensure that they work correctly together and produce a desired result. In this tutorial I will perform Integrations Testing in ASP.NET Core app.

(more…)

How to tests Entity Framework Core Codes

Updated on: August 18, 2021

xUnit can be easily used to test Entity Framework Core codes. This tutorial will tech how to test CRUD operations code created with Entity Framework Core in xUnit. I will write 8 test methods to cover each and every aspect of testing so make sure you cover this whole tutorial till the end.

(more…)