diff --git a/hasql.cabal b/hasql.cabal index f638445..dc0f775 100644 --- a/hasql.cabal +++ b/hasql.cabal @@ -142,13 +142,13 @@ library uuid >=1.3 && <2, vector >=0.10 && <0.14, -library testing-utils +library testing-kit import: base - hs-source-dirs: testing-utils + hs-source-dirs: testing-kit exposed-modules: - Hasql.TestingUtils.Constants - Hasql.TestingUtils.Statements.GenerateSeries - Hasql.TestingUtils.TestingDsl + Hasql.TestingKit.Constants + Hasql.TestingKit.Statements.GenerateSeries + Hasql.TestingKit.TestingDsl build-depends: hasql, @@ -167,7 +167,7 @@ test-suite tasty build-depends: contravariant-extras >=0.3.5.2 && <0.4, hasql, - hasql:testing-utils, + hasql:testing-kit, quickcheck-instances >=0.3.11 && <0.4, rerebase <2, tasty >=0.12 && <2, @@ -218,6 +218,6 @@ test-suite hspec build-tool-depends: hspec-discover:hspec-discover build-depends: - hasql:testing-utils, + hasql:testing-kit, hspec, rerebase >=1 && <2, diff --git a/hspec/Hasql/PipelineSpec.hs b/hspec/Hasql/PipelineSpec.hs index ea93c39..56d172a 100644 --- a/hspec/Hasql/PipelineSpec.hs +++ b/hspec/Hasql/PipelineSpec.hs @@ -1,7 +1,7 @@ module Hasql.PipelineSpec (spec) where -import Hasql.TestingUtils.Statements.GenerateSeries qualified as GenerateSeries -import Hasql.TestingUtils.TestingDsl qualified as Dsl +import Hasql.TestingKit.Statements.GenerateSeries qualified as GenerateSeries +import Hasql.TestingKit.TestingDsl qualified as Dsl import Test.Hspec import Prelude diff --git a/tasty/Main.hs b/tasty/Main.hs index 71149e2..f6eee91 100644 --- a/tasty/Main.hs +++ b/tasty/Main.hs @@ -5,7 +5,7 @@ import Hasql.Decoders qualified as Decoders import Hasql.Encoders qualified as Encoders import Hasql.Session qualified as Session import Hasql.Statement qualified as Statement -import Hasql.TestingUtils.TestingDsl qualified as Session +import Hasql.TestingKit.TestingDsl qualified as Session import Main.Connection qualified as Connection import Main.Prelude hiding (assert) import Main.Statements qualified as Statements diff --git a/testing-utils/Hasql/TestingUtils/Constants.hs b/testing-kit/Hasql/TestingKit/Constants.hs similarity index 87% rename from testing-utils/Hasql/TestingUtils/Constants.hs rename to testing-kit/Hasql/TestingKit/Constants.hs index be657f7..584550e 100644 --- a/testing-utils/Hasql/TestingUtils/Constants.hs +++ b/testing-kit/Hasql/TestingKit/Constants.hs @@ -1,4 +1,4 @@ -module Hasql.TestingUtils.Constants where +module Hasql.TestingKit.Constants where import Hasql.Connection qualified as Connection diff --git a/testing-utils/Hasql/TestingUtils/Statements/GenerateSeries.hs b/testing-kit/Hasql/TestingKit/Statements/GenerateSeries.hs similarity index 94% rename from testing-utils/Hasql/TestingUtils/Statements/GenerateSeries.hs rename to testing-kit/Hasql/TestingKit/Statements/GenerateSeries.hs index 67937e2..4cf98b6 100644 --- a/testing-utils/Hasql/TestingUtils/Statements/GenerateSeries.hs +++ b/testing-kit/Hasql/TestingKit/Statements/GenerateSeries.hs @@ -1,4 +1,4 @@ -module Hasql.TestingUtils.Statements.GenerateSeries where +module Hasql.TestingKit.Statements.GenerateSeries where import Hasql.Decoders qualified as Decoders import Hasql.Encoders qualified as Encoders diff --git a/testing-utils/Hasql/TestingUtils/TestingDsl.hs b/testing-kit/Hasql/TestingKit/TestingDsl.hs similarity index 93% rename from testing-utils/Hasql/TestingUtils/TestingDsl.hs rename to testing-kit/Hasql/TestingKit/TestingDsl.hs index a7a450f..ba762d0 100644 --- a/testing-utils/Hasql/TestingUtils/TestingDsl.hs +++ b/testing-kit/Hasql/TestingKit/TestingDsl.hs @@ -1,4 +1,4 @@ -module Hasql.TestingUtils.TestingDsl +module Hasql.TestingKit.TestingDsl ( Session.Session, Error (..), Session.SessionError (..), @@ -16,7 +16,7 @@ import Hasql.Connection qualified as Connection import Hasql.Pipeline qualified as Pipeline import Hasql.Session qualified as Session import Hasql.Statement qualified as Statement -import Hasql.TestingUtils.Constants qualified as Constants +import Hasql.TestingKit.Constants qualified as Constants import Prelude data Error