/RefactoringFowler

C# for Martin Fowler's "Refactoring" book, 2nd Edition

Primary LanguageC#MIT LicenseMIT

Refactoring Fowler

A C# translation from JavaScript of the examples in Martin Fowler's "Refactoring" 📖, 2nd Edition. Watch a podcast about why the 2nd Edition was written.

How the Code is translated

The C# code follows the JavaScript as closely as possible

The C# code should be "good style", specifically ReSharper should have no warnings

Target Environment

.NET Core 5.0

Build

Dependencies

  • C# .NET Core using SDK v5.0+
  • NUnit v3.12+

Testing

Unit testing is vital to refactoring and have been added. The convention used is that the tests for ChapterN are in project ChapterN.Tests

Static Analysis

Installing

Package Manager (for NUnit3 Test projects)

  • Install-Package NUnit -Version 3.12.0
  • Install-Package NUnit3TestAdapter -Version 3.17.0
  • Install-Package Microsoft.NET.Test.Sdk -Version 16.8.3

Package Manager (for Coverage on Test projects)

  • Install-Package coverlet.msbuild -Version 2.9.0
  • Install-Package coveralls.io -Version 1.4.2

Continuous Integration

Appveyor using appveyor.yml for Visual Studio 2019

Build status

Coverage Status

Build history

License

Using the MIT license, as used by .NET Core