29 Aug

Convention Tests

AKA: Protecting “future me” I needed a way to ensure that I didn’t stupidly include internal data types in WebAPI methods Installation Install-Package TestStack.ConventionTests Example Usepublic class ApiControllersShould {public void UseDtoParameterTypes() { // Define some data var methods = Methods.InAssemblyOf("Api Controller Methods", t => t.Where(p...