From 86247f834420f92959f9aa2693e404b979c8a9fb Mon Sep 17 00:00:00 2001 From: Alex Biehl Date: Thu, 6 Aug 2020 12:05:48 +0200 Subject: [PATCH] Update README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 00c420f..0cc2477 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,18 @@ Testcontainers is a Haskell library that provides a friendly API to run Docker -container. It is designed to create runtime environment to use during your automatic -tests. +containers. It is designed to create a runtime environment to use during your +integration tests ``` haskell module Main where import Test.Tasty import Test.Tasty.HUnit -import TestContainer.Tasty (MonadDocker, defaultContainerRequest, +import TestContainer.Tasty (MonadDocker, conainerRequest, redis, run, withContainers) containers :: MonadDocker m => m () containers = do - _ <- run redis defaultContainerRequest + _ <- run $ containerRequest redis pure ()