OASISFormat: 0.3
OCamlVersion: >= 3.11.0
Name:        ounit
Version:     2.0.8
Synopsis:    Unit testing framework
Authors:     Maas-Maarten Zeeman,
             Sylvain Le Gall
Copyrights:  (C) 2002-2008 Maas-Maarten Zeeman,
             (C) 2010 OCamlCore SARL
License:     MIT
LicenseFile: LICENSE.txt
Homepage:    http://ounit.forge.ocamlcore.org
Plugins:     META (0.2), StdFiles (0.2), DevFiles (0.2)
BuildTools:  ocamlbuild

Description:
  OUnit is a unit testing framework for OCaml, inspired by the JUnit tool for
  Java, and the HUnit tool for Haskell.
  .
  More information on [HUnit](http://hunit.sourceforge.net)

Library "oUnit"
  Path: src
  Modules: OUnit,
           OUnit2
  BuildDepends: unix, oUnit.advanced

Library "oUnitAdvanced"
  Path: src
  Modules: OUnitUtils,
           OUnitPropList,
           OUnitPlugin,
           OUnitChooser,
           OUnitResultSummary,
           OUnitLoggerStd,
           OUnitLoggerHTML,
           OUnitLoggerHTMLData,
           OUnitLoggerJUnit,
           OUnitAssert,
           OUnitBracket,
           OUnitTest,
           OUnitState,
           OUnitRunner,
           OUnitRunnerProcesses,
           OUnitCore,
           OUnitLogger,
           OUnitConf,
           OUnitShared,
           OUnitCache,
           OUnitTestData,
           OUnitCheckEnv,
           OUnitDiff
  FindlibParent: oUnit
  BuildDepends: bytes
  FindlibName: advanced

Library "oUnitThreads"
  Path: src
  Modules: OUnitThreads
  InternalModules: OUnitRunnerThreads
  BuildDepends: threads, oUnit
  FindlibParent: oUnit
  FindlibName: threads

# A fake test executable that generates an HTML output.
Executable testFakeHTML
  Path:   test
  MainIs: testFakeHTML.ml
  BuildDepends: oUnit
  Install: false
  Build$: flag(tests)

# A fake test executable that helps to test all the runners.
Executable testFakeRunner
  Path:   test
  MainIs: testFakeRunner.ml
  BuildDepends: oUnit, oUnit.threads
  Install: false
  Build$: flag(tests)

# A fake test executable that helps to test shared module with all runners.
Executable testFakeShared
  Path:   test
  MainIs: testFakeShared.ml
  BuildDepends: oUnit, oUnit.threads
  Install: false
  Build$: flag(tests)

# The main test.
Executable test
  Path:   test
  MainIs: test.ml
  BuildDepends: oUnit, oUnit.advanced, str
  Install: false
  Build$: flag(tests)

Test main
  Command: $test -xmllint $xmllint \
    -testFakeHTML $testfakehtml \
    -testFakeRunner $testfakerunner \
    -testFakeShared $testfakeshared
  TestTools: test, testFakeHTML, testFakeRunner, xmllint

Document "api-ounit"
  Title:       API reference for OUnit
  Type:        ocamlbuild (0.2)
  BuildTools+: ocamldoc
  XOCamlbuildLibraries: oUnit, oUnit.threads, oUnit.advanced
  XOCamlbuildPath:      src/

SourceRepository head
  Type: git
  Location: https://github.com/gildor478/ounit.git
  Branch: master
  Browser: https://github.com/gildor478/ounit
