mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
Merge pull request #383 from github/remove-test-autodiscovery
Remove test autodiscovery
This commit is contained in:
commit
af72770234
@ -5,7 +5,7 @@ description: Please see README.md
|
|||||||
homepage: http://github.com/github/semantic-diff#readme
|
homepage: http://github.com/github/semantic-diff#readme
|
||||||
author: Rob Rix, Josh Vera
|
author: Rob Rix, Josh Vera
|
||||||
maintainer: rob.rix@github.com
|
maintainer: rob.rix@github.com
|
||||||
copyright: 2015 GitHub
|
copyright: 2016 GitHub
|
||||||
category: Web
|
category: Web
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
-- extra-source-files:
|
-- extra-source-files:
|
||||||
@ -93,6 +93,11 @@ test-suite semantic-diff-test
|
|||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
main-is: Spec.hs
|
main-is: Spec.hs
|
||||||
other-modules: ArbitraryTerm
|
other-modules: ArbitraryTerm
|
||||||
|
, InterpreterSpec
|
||||||
|
, OrderedMapSpec
|
||||||
|
, PatchOutputSpec
|
||||||
|
, SplitSpec
|
||||||
|
, TermSpec
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, containers
|
, containers
|
||||||
, free
|
, free
|
||||||
|
17
test/Spec.hs
17
test/Spec.hs
@ -1 +1,16 @@
|
|||||||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
|
module Main where
|
||||||
|
|
||||||
|
import qualified InterpreterSpec
|
||||||
|
import qualified OrderedMapSpec
|
||||||
|
import qualified PatchOutputSpec
|
||||||
|
import qualified SplitSpec
|
||||||
|
import qualified TermSpec
|
||||||
|
import Test.Hspec
|
||||||
|
|
||||||
|
main :: IO ()
|
||||||
|
main = hspec $ do
|
||||||
|
describe "Interpreter" InterpreterSpec.spec
|
||||||
|
describe "OrderedMap" OrderedMapSpec.spec
|
||||||
|
describe "PatchOutput" PatchOutputSpec.spec
|
||||||
|
describe "Split" SplitSpec.spec
|
||||||
|
describe "Term" TermSpec.spec
|
||||||
|
@ -2,19 +2,13 @@ module TermSpec where
|
|||||||
|
|
||||||
import Test.Hspec
|
import Test.Hspec
|
||||||
import Test.Hspec.QuickCheck
|
import Test.Hspec.QuickCheck
|
||||||
import Test.QuickCheck hiding (Fixed)
|
|
||||||
import Data.Text.Arbitrary ()
|
import Data.Text.Arbitrary ()
|
||||||
|
|
||||||
import Categorizable
|
import Categorizable
|
||||||
import Interpreter
|
import Interpreter
|
||||||
import Diff
|
import Diff
|
||||||
import Syntax
|
|
||||||
import Term
|
|
||||||
import ArbitraryTerm
|
import ArbitraryTerm
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = hspec spec
|
|
||||||
|
|
||||||
spec :: Spec
|
spec :: Spec
|
||||||
spec = parallel $ do
|
spec = parallel $ do
|
||||||
describe "Term" $ do
|
describe "Term" $ do
|
||||||
|
Loading…
Reference in New Issue
Block a user