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 ()