Skip to content
  • barmston's avatar
    Tests for the freeze command · c2032b67
    barmston authored
    Introduced a new test-suite, package-tests, which is intended for black-box
    testing of the cabal binary.
    
    The `PackageTests` module determines which cabal binary is to be tested and
    runs the tests passing each of them the path to that binary. The binary is the
    first cabal binary found on the path. To test a different binary, adjust the
    PATH environment variable.
    
    The `PackageTests.PackageTester` module contains common routines to execute
    the cabal binary and check its results.
    
    Finally, the `PackageTests.Freeze.Check` command contains some tests for the
    freeze command.
    c2032b67