mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +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
|
||||
author: Rob Rix, Josh Vera
|
||||
maintainer: rob.rix@github.com
|
||||
copyright: 2015 GitHub
|
||||
copyright: 2016 GitHub
|
||||
category: Web
|
||||
build-type: Simple
|
||||
-- extra-source-files:
|
||||
@ -93,6 +93,11 @@ test-suite semantic-diff-test
|
||||
hs-source-dirs: test
|
||||
main-is: Spec.hs
|
||||
other-modules: ArbitraryTerm
|
||||
, InterpreterSpec
|
||||
, OrderedMapSpec
|
||||
, PatchOutputSpec
|
||||
, SplitSpec
|
||||
, TermSpec
|
||||
build-depends: base
|
||||
, containers
|
||||
, 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.QuickCheck
|
||||
import Test.QuickCheck hiding (Fixed)
|
||||
import Data.Text.Arbitrary ()
|
||||
|
||||
import Categorizable
|
||||
import Interpreter
|
||||
import Diff
|
||||
import Syntax
|
||||
import Term
|
||||
import ArbitraryTerm
|
||||
|
||||
main :: IO ()
|
||||
main = hspec spec
|
||||
|
||||
spec :: Spec
|
||||
spec = parallel $ do
|
||||
describe "Term" $ do
|
||||
|
Loading…
Reference in New Issue
Block a user