3 Description : Main for Gargantext Tests
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
12 import Gargantext.Prelude
14 import qualified Core.Text.Corpus.Query as CorpusQuery
15 import qualified Core.Utils as Utils
16 --import qualified Ngrams.Lang.Fr as Fr
17 --import qualified Ngrams.Lang as Lang
18 import qualified Ngrams.NLP as NLP
19 import qualified Ngrams.Query as NgramsQuery
20 import qualified Parsers.Date as PD
21 -- import qualified Graph.Distance as GD
22 import qualified Graph.Clustering as Graph
23 import qualified Utils.Crypto as Crypto
24 import qualified Utils.Jobs as Jobs
25 import qualified Offline.JSON as JSON
28 import Test.Tasty.Hspec
32 utilSpec <- testSpec "Utils" Utils.test
33 clusteringSpec <- testSpec "Graph Clustering" Graph.test
34 dateParserSpec <- testSpec "Date Parsing" PD.testFromRFC3339
35 cryptoSpec <- testSpec "Crypto" Crypto.test
36 nlpSpec <- testSpec "NLP" NLP.test
37 jobsSpec <- testSpec "Jobs" Jobs.test
39 defaultMain $ testGroup "Gargantext"
51 -- Lang.ngramsExtractionTest FR
52 -- Lang.ngramsExtractionTest EN