packages feed

tasty-flaky-0.1.0.0: tasty-flaky.cabal

cabal-version:      3.4
name:               tasty-flaky
version:            0.1.0.0
synopsis:           Handle flaky Tasty-based tests
description:        Handle flaky Tasty-based tests, with configuration retry policies.
homepage:           https://github.com/PowerweaveInc/tasty-flaky
license:            BSD-3-Clause
license-file:       LICENSE
author:             Laurent René de Cotret
maintainer:         laurent@powerweave.io
copyright:          (c) Powerweave Inc.
category:           Testing
build-type:         Simple
tested-with:        GHC ==9.10.1
                     || ==9.8.2
                     || ==9.6.6
                     || ==9.4.8
                     || ==9.2.8
                     || ==9.0.2
                     || ==8.10.7
extra-doc-files:    CHANGELOG.md
                    README.md


source-repository head
  type:     git
  location: https://github.com/PowerweaveInc/tasty-flaky.git


common common-options
    ghc-options: -Wall
                 -Wcompat
                 -Widentities
                 -Wincomplete-uni-patterns
                 -Wincomplete-record-updates
                 -Wredundant-constraints
                 -fhide-source-paths
                 -Wpartial-fields
    default-language: Haskell2010

library
    import:           common-options
    exposed-modules:  Test.Tasty.Flaky
    build-depends:    base >=4.14 && <4.21
                    , tagged >= 0.5 && <0.9
                    , retry >= 0.7 && <0.10
                    , tasty ^>=1.5
    hs-source-dirs:   src

test-suite tasty-flaky-test
    import:           common-options
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:    base
                    , tasty
                    , tasty-flaky
                    , tasty-hunit