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...
19 Aug

ServerSpec For Testing Windows Infrastructure

Environment Validator I’m using the ServerSpec framework to do environment validation of development and test environments. The first version is set up in a very basic way where you pass a single host IP or Name and it connects over WinRM. This is specifically designed to be an example...