42bf4475e0
* Update shell and packages * Fix code for 0.15 * Fix tests * Format * Add check-pulp command * Generate bowerfile * Add check-pulp to CI * Add nixfmt to formatting * Fixup test helpers * Take 2 * PR comments (#1) * Nix cleanup from PR * Use arrows functions * Remove unnecessary step Co-authored-by: Connor Prussin <connor@prussin.net>
39 lines
1.0 KiB
Haskell
39 lines
1.0 KiB
Haskell
module Test.Main where
|
|
|
|
import Prelude
|
|
|
|
import Effect.Aff (launchAff_)
|
|
import Test.HTTPure.BodySpec (bodySpec)
|
|
import Test.HTTPure.HeadersSpec (headersSpec)
|
|
import Test.HTTPure.IntegrationSpec (integrationSpec)
|
|
import Test.HTTPure.LookupSpec (lookupSpec)
|
|
import Test.HTTPure.MethodSpec (methodSpec)
|
|
import Test.HTTPure.PathSpec (pathSpec)
|
|
import Test.HTTPure.QuerySpec (querySpec)
|
|
import Test.HTTPure.RequestSpec (requestSpec)
|
|
import Test.HTTPure.ResponseSpec (responseSpec)
|
|
import Test.HTTPure.ServerSpec (serverSpec)
|
|
import Test.HTTPure.StatusSpec (statusSpec)
|
|
import Test.HTTPure.TestHelpers (TestSuite)
|
|
import Test.HTTPure.UtilsSpec (utilsSpec)
|
|
import Test.HTTPure.VersionSpec (versionSpec)
|
|
import Test.Spec (describe)
|
|
import Test.Spec.Reporter (specReporter)
|
|
import Test.Spec.Runner (runSpec)
|
|
|
|
main :: TestSuite
|
|
main = launchAff_ $ runSpec [ specReporter ] $ describe "HTTPure" do
|
|
bodySpec
|
|
headersSpec
|
|
lookupSpec
|
|
methodSpec
|
|
pathSpec
|
|
querySpec
|
|
requestSpec
|
|
responseSpec
|
|
serverSpec
|
|
statusSpec
|
|
utilsSpec
|
|
versionSpec
|
|
integrationSpec
|