This guide will show you how to configure a Cabal project to test a Warp server (such as Scotty or Yesod) using hspec2. It will allow you to test HTTP requests and responses and to prepare the database before/between steps. directories and cabal Assuming your project code lives in a top-level src directory, create another top-level directory called test. We need to add a new section to the project