-- SPDX-FileCopyrightText: 2021 Oxhead Alpha
-- SPDX-License-Identifier: LicenseRef-MIT-OA

-- | Ingredients that we use in our test suites.

module Test.Cleveland.Ingredients
  ( ourIngredients
  ) where

import Test.Tasty.Ingredients (Ingredient, composeReporters)
import Test.Tasty.Ingredients.Basic (consoleTestReporter, listingTests)
import Test.Tasty.Runners.AntXML (antXMLRunner)

-- | This is the default set of ingredients extended with the
-- 'antXMLRunner' which is used to generate xml reports for CI.
ourIngredients :: [Ingredient]
ourIngredients :: [Ingredient]
ourIngredients = [Ingredient
listingTests, Ingredient
antXMLRunner Ingredient -> Ingredient -> Ingredient
`composeReporters` Ingredient
consoleTestReporter]