main-tester-0.2.0.1: Capture stdout/stderr/exit code, and replace stdin of your main function.

Safe HaskellSafe
LanguageHaskell2010

Test.Main.Internal

Synopsis

Documentation

data ProcessResult Source #

Used for the result of captureProcessResult.

Instances
Eq ProcessResult Source # 
Instance details

Defined in Test.Main.Internal

Show ProcessResult Source # 
Instance details

Defined in Test.Main.Internal

Generic ProcessResult Source # 
Instance details

Defined in Test.Main.Internal

Associated Types

type Rep ProcessResult :: Type -> Type #

type Rep ProcessResult Source # 
Instance details

Defined in Test.Main.Internal

normalizeNewLines :: ProcessResult -> ProcessResult Source #

Use to avoid errors in related to new line code in tests. Currently I use this function only for this module's test.