xUnit in ASP.NET Core – What You Need to Know to Start
Learn how to leverage xUnit in ASP.NET Core tests with simple code examples. See how to write easy-to-understand test code and cover your ASP.NET Core apps!
Learn how to leverage xUnit in ASP.NET Core tests with simple code examples. See how to write easy-to-understand test code and cover your ASP.NET Core apps!
Unit test your Blazor project! Improve code quality and catch bugs early with improved test coverage. Check out this Blazor unit testing tutorial now!
Improve your Blazor unit testing! Look no further than this article on Blazor unit testing with bUnit. Get started from scratch and write useful tests!
Interested in unit testing in C#? Let's look at xUnit and Moq for unit testing! We'll explore mocking external dependencies and the role of these in unit tests.
Refactoring: Some Background If you're a seasoned programmer you know all about refactoring. If you're relatively new to programming, you probably have heard of refactoring but don't have that much experience actually doing it. After all, it's easier to just rewrite things from scratch instead of trying to make a huge design change part way through, right? In any mature software project, it's often the case where you'll get to a point where your code base in its current state cannot properly sustain large changes going forward. It's not really anyone's fault--it's totally natural. It's impossible to plan absolutely everything that comes up, so it's probable that at some point at least part of your software project will face refactoring. In my real life example, I was tasked with refactoring a software project that has a single owner. I'm close…