用HTF进行测试 [英] Testing with HTF

查看:114
本文介绍了用HTF进行测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTF的体面文件缺乏令人难以置信的表现。我能找到的只有教程,它不提供以下任何非常重要的信息:


  1. 如何创建一个自动执行的测试套件所有的软件包测试?

  2. HTF的黑盒测试究竟是什么,以及如何创建它们?

  3. 什么是实际标准设置基于HTF(源根,包和模块结构,cabal)的测试套件?


解决方案

HTF的新版本0.9.0.0(请参阅 http://hackage.haskell .org / package / HTF-0.9.0.0 https://github.com/skogsbaer/HTF / )希望能回答你所有的问题。我会总结一下:


There's an incredible lack of decent documentation on HTF. All I could find was a Tutorial which doesn't provide any of the following really important information:

  1. How do I create a test suite that automatically executes all tests from packages?
  2. What exactly are those "Black box tests" of HTF and how do I create them?
  3. What are the actual standards of setting up a test suite based on HTF (source root, packages and modules structure, cabal)?

解决方案

The new release 0.9.0.0 of HTF (see http://hackage.haskell.org/package/HTF-0.9.0.0 and https://github.com/skogsbaer/HTF/) hopefully answers all your questions. I'll summarize:

这篇关于用HTF进行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆