Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Conventional Wisdom

Andrew Best
November 30, 2015

Conventional Wisdom

How you can leverage convention tests to build good codebases

Andrew Best

November 30, 2015
Tweet

More Decks by Andrew Best

Other Decks in Technology

Transcript

  1. Page Good codebases are? › Easy to reason about ›

    Express clear opinions › Have low cognitive overhead › Inspire confidence › Are self enforcing › Are malleable / Copyright ©2014 by Readify Pty Ltd 2
  2. Page How? › Write good code! </joke> › Leverage tools

    that help us validate our codebases › The .NET type system › Mono.Cecil › Combine these with tools that run these validations at build time › Unit testing frameworks › CI / Copyright ©2014 by Readify Pty Ltd 3
  3. Page Conventional › A .NET library for inspecting types, assemblies,

    solutions and databases, available on nuget › Provides a large set of conventions that can be applied out of the box, or you can create your own › Fits in with your testing framework of choice › Gives human-readable output whenever conventions are broken, so we can go and fix our code! / Copyright ©2014 by Readify Pty Ltd 4