GithubHelp home page GithubHelp logo

hvr / htf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skogsbaer/htf

0.0 2.0 0.0 3.81 MB

Haskell Test Framework

License: GNU Lesser General Public License v2.1

Haskell 95.90% Shell 4.07% C++ 0.03% C 0.01%

htf's Introduction

HTF - The Haskell Test Framework

Build Status Hackage

Summary

The Haskell Test Framework (HTF for short) lets you define unit tests (http://hackage.haskell.org/package/HUnit), QuickCheck properties (https://hackage.haskell.org/package/QuickCheck), and black box tests in an easy and convenient way. HTF uses a custom preprocessor that collects test definitions automatically. Furthermore, the preprocessor allows HTF to report failing test cases with exact file name and line number information. Additionally, HTF tries to produce highly readable output for failing tests: for example, it colors and pretty prints expected and actual results and provides a diff between the two values.

Look here for a short tutorial on HTF. The following slightly out-dated blog article demonstrates HTF's coloring, pretty-printing and diff functionality.

Installation instructions

Getting started

  • Read the tutorial.
  • Experiment with the sample project located in the sample directory of HTF's source tree.

htf's People

Contributors

brow avatar ekarayel avatar fisx avatar gwern avatar jchia avatar jmtd avatar jpmoresmau avatar loisch avatar lslah avatar markwright avatar marnix avatar mitchellwrosen avatar skogsbaer avatar snoyberg avatar timjb avatar weissi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.