ganeti
Safe HaskellNone

Test.Ganeti.HTools.CLI

Description

Unittests for ganeti-htools.

Synopsis

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.