-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
16 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module TestFetcherArpansa where | ||
module Fetcher.ArpansaSpec where | ||
|
||
import Control.Lens | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module TestFetcherJMA where | ||
module Fetcher.JMASpec where | ||
|
||
import Control.Lens | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module TestFetcher where | ||
module FetcherSpec where | ||
|
||
import Control.Lens | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
test/Integration/TestServer.hs → test/Integration/ServerSpec.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1 @@ | ||
-- FIXME: Why doesn't hspec-discover work? | ||
import Test.Hspec | ||
|
||
import qualified TestFetcher | ||
import qualified TestFetcherArpansa | ||
import qualified TestFetcherJMA | ||
import qualified TestTypes | ||
import qualified TestTypesLocation | ||
import qualified TestUtils | ||
import qualified Integration.TestServer | ||
|
||
main :: IO () | ||
main = hspec spec | ||
|
||
spec = do | ||
describe "TestFetcher" TestFetcher.spec | ||
describe "TestFetcherArpansa" TestFetcherArpansa.spec | ||
describe "TestFetcherJMA" TestFetcherJMA.spec | ||
describe "TestTypes" TestTypes.spec | ||
describe "TestTypesLocation" TestTypesLocation.spec | ||
describe "TestUtils" TestUtils.spec | ||
describe "Integration.TestServer" Integration.TestServer.spec | ||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{-# LANGUAGE OverloadedStrings #-} | ||
module TestTypes where | ||
module TypesSpec where | ||
|
||
{- Test Types module -} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{-# LANGUAGE OverloadedStrings #-} | ||
module TestUtils where | ||
module UtilsSpec where | ||
|
||
{- Test Utils module -} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters