Skip to content

Latest commit

 

History

History
47 lines (24 loc) · 1.56 KB

README.md

File metadata and controls

47 lines (24 loc) · 1.56 KB

FrankServer NuGet Build Status

FrankServer is a library that lets you route incoming HTTP requests to specific code that deals with that request.

Why?

Testing. Particularly, speed-of-tests.

FrankServer is designed to facilitate fast, high-level integration tests.

How fast?

Well - the current Frank EndToEndTests suite finishes in less than 200ms.

Each single test spins up and tears down the entire TCP server, with a performance of between 10-100ms.

Installing

Add FrankServer as a NuGet dependency to your project.

Usage

Have a look at the SampleProject for an example of how to use FrankServer

Alternatively, look at The Tests, for a more in-depth look at what is working.

FAQs

Why not just use ASP.NET Core MVC?

Maybe you should. However, your tests will probably be orders of magnitude slower than FrankServer.

Does this support EntityFramework?

Maybe you should use ASP.NET Core MVC. This is for people who want fast tests.

Do you recommend I use this on X project?

I dunno? If you are asking that, maybe you should use ASP.NET Core MVC.

This looks incomplete.

Yes, yes it is. it's v0.1. What do you want from me?

Why "Frank"?

You ever heard of Sinatra?