Safe Haskell | None |
---|
Unittests for ganeti-htools.
Synopsis
- prop_parseISpec :: String -> Int -> Int -> Int -> Maybe Int -> Property
- prop_parseISpecFail :: String -> Property
- prop_string_arg :: String -> Property
- prop_numeric_arg :: Positive Double -> Property
- case_bool_arg :: Assertion
- case_wrong_arg :: Assertion
- case_stdopts :: Assertion
- testHTools_CLI :: Test
Documentation
prop_parseISpec :: String -> Int -> Int -> Int -> Maybe Int -> Property Source #
Test correct parsing.
prop_parseISpecFail :: String -> Property Source #
Test parsing failure due to wrong section count.
prop_string_arg :: String -> Property Source #
Test a few string arguments.
prop_numeric_arg :: Positive Double -> Property Source #
Test a few positive arguments.
case_bool_arg :: Assertion Source #
Test a few boolean arguments.
case_wrong_arg :: Assertion Source #
Tests a few invalid arguments.
case_stdopts :: Assertion Source #
Test that all binaries support some common options.
testHTools_CLI :: Test Source #