HTF icon indicating copy to clipboard operation
HTF copied to clipboard

Haskell Test Framework

Results 13 HTF issues
Sort by recently updated
recently updated
newest added

HTF-0.15.0.2 misses a changelog entry.

Hi, I am getting the following test failures in HTF 0.15.0.1 under GHC 9.0.2, Arch Linux x86_64: ``` Unexpected elements: fromList ["bbt/should_fail/not_ok_because_stdout2.x","bbt/should_fail/not_ok_because_succeeds.x"] Elements expected but not present: fromList ["bbt/should_fail/ok2.x","bbt/should_pass/ok1.x","bbt/should_pass/ok2.x","bbt/should_pass/stdin_ok.x"]) Test...

bug

Hey fellow developers, I renamed to master branch to main. You need to issue to following commands to update your local copy: ``` git branch -m master main git fetch...

It would be great if it were possible to use HTF with literate Haskell. I don't think it is at the moment, for at least one reason: htfpp does not...

I have some tests that each need a database pool, but I'd rather not create an individual database pool within each test for performance reasons. I'd like to write my...

enhancement

- BlackBoxTests should be named ShellBasedTests - it should be possible to write tests that only care about the exit code - configuration mechanism should be simpler

enhancement

It should be possible to define benchmarks in HTF. Benchmark should use criterion for measurements. Possibility 1: ``` bench_fact = nf fact 100 ``` This simply runs the benchmark when...

enhancement
lotofwork

A nice set of additional assertion combinators would be something like: ```haskell assertEqualM :: (Eq a, Show a) => a -> IO a -> IO () ```

enhancement

It seems that the testsuite is looking for the generated `htfpp` in very specific locations only. ``` Building test suite 'TestHTF' for HTF-0.15.0.2... gfind: ‘/Users/abel/project/open-source/HTF/.stack-work/dist/x86_64-osx’: No such file or directory...

I tried to clean install Haskell and HTF on a Windows 11 machine for a university course. I followed the instructions to install all the haskell components with GHCup, and...