Skip to content

Commit

Permalink
Add scaffolding for a new unit test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
tibbe committed Aug 6, 2012
1 parent 1e2ea93 commit 055aebc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Cabal/Cabal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,23 @@ Library
Default-Language: Haskell98
Default-Extensions: CPP

-- Small, fast running tests.
test-suite unit-tests
type: exitcode-stdio-1.0
main-is: suite.hs
main-is: UnitTests.hs
hs-source-dirs: tests
build-depends:
base,
test-framework,
test-framework-hunit,
HUnit,
Cabal
Default-Language: Haskell98

-- Large, system tests that build packages.
test-suite package-tests
type: exitcode-stdio-1.0
main-is: PackageTests.hs
other-modules: PackageTests.BuildDeps.GlobalBuildDepsNotAdditive1.Check,
PackageTests.BuildDeps.GlobalBuildDepsNotAdditive2.Check,
PackageTests.BuildDeps.InternalLibrary0.Check,
Expand Down
File renamed without changes.

0 comments on commit 055aebc

Please sign in to comment.