github twitter linkedin email
Migrating from NancyFx to ASP.NET Core: Integration Tests
Oct 28, 2016
One minute read

When migrating a Nancy-based project to ASP.NET Core, I faced quite a dilemma: a rather large set of integration tests needed practically rewriting to suit core’s way of doing things.

And in true Bill Gates fashion I decided to write a shim/adaptor so these tests could run with little modification to validate our migration pretty quickly.

One thing that you’ll notice is the methods (Browser.Get etc) are now async, this wasn’t much of a change for me with a global find+replace but you may want to change this if it’s too much of a hassle for your codebase.

Check out the gist here.

Back to posts

comments powered by Disqus