Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> doc >> libghc-tasty-expected-failure-doc
nabia  ] [  aramo  ]
[ 源代码: haskell-tasty-expected-failure  ]

软件包: libghc-tasty-expected-failure-doc (0.11.1.1-3)

mark tasty tests as failure-expected; documentation

With the function 'expectFail' in the provided module Test.Tasty.ExpectedFailure, you can mark that you expect test cases to fail, and not to pass.

This can for example be used for test-driven development: Create the tests, mark them with 'Test.Tasty.ExpectedFailure.expectFail', and you can still push to the main branch, without your continuous integration branch failing.

Once someone implements the feature or fixes the bug (maybe unknowingly), the test suite will tell him so, due to the now unexpectedly passing test, and he can remove the 'Test.Tasty.ExpectedFailure.expectFail' marker.

The module also provides 'Test.Tasty.ExpectedFailure.ignoreTest' to avoid running a test. Both functions are implemented via the more general 'Test.Tasty.ExpectedFailure.wrapTest', which is also provided.

This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

其他与 libghc-tasty-expected-failure-doc 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • rec: ghc-doc
    Documentation for the Glasgow Haskell Compilation system
  • rec: libghc-tagged-doc
    newtype wrappers for phantom types; documentation
  • rec: libghc-tasty-doc
    Haskell testing framework; documentation
  • rec: libjs-mathjax
    JavaScript display engine for LaTeX and MathML

下载 libghc-tasty-expected-failure-doc

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 27.6 kB143 kB [文件列表]