Month: March 2018

Code.analysis Thumbnail

Code quality: Using CodeAnalysis.FxCopAnalyzers and Stylecop in .NET Core 2 applications

Published on March 1, 2018 by Anthony Giretti

Why Code quality is important? Because correctness, maintainability, and even elegance are all involved in creating great code. Code Quality is a fascinating subject, which comprises a mixture of knowledge, experience, guidelines, principles, patterns and conventions. And if that wasn’t enough, they all should be carefully adapted to each particular team and use case. The subject gets even more confusing when you start considering tooling. However, choosing the right tools for each team and use case will make achieving quality code simpler. This article contains an introduction to the Code Quality subject in the .Net Core ecosystem.

Xunit Thumbnail

Code reliability: Unit testing with XUnit and FluentAssertions in .NET Core 2 apps

Published on March 1, 2018 by Anthony Giretti is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).