1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Merge pull request #383 from github/remove-test-autodiscovery

Remove test autodiscovery
This commit is contained in:
Josh Vera 2016-01-06 13:09:02 -05:00
commit af72770234
3 changed files with 22 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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