Copyright | (c) Rodrigo Setti 2017 |
---|---|
License | BSD3 |
Maintainer | rodrigosetti@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- data TestReport = TestReport {}
- isSuccessful :: TestReport -> Bool
- writeReportFile :: FilePath -> NormalizedSwagger -> [TestReport] -> IO ()
- writeErrorReportFile :: FilePath -> String -> IO ()
- runTests :: NormalizedSwagger -> Int -> Size -> IO [TestReport]
Documentation
isSuccessful :: TestReport -> Bool Source #
Predicate that tells whether or not a report is of a successful validation
writeReportFile :: FilePath -> NormalizedSwagger -> [TestReport] -> IO () Source #
writeErrorReportFile :: FilePath -> String -> IO () Source #
Write a report file containing just a single error message. This is to be used if we find an error before being able to run any test (parsing schema, etc.)
runTests :: NormalizedSwagger -> Int -> Size -> IO [TestReport] Source #
Run n tests for a Swagger
schema