tasty icon indicating copy to clipboard operation
tasty copied to clipboard

Modern and extensible testing framework for Haskell

Results 56 tasty issues
Sort by recently updated
recently updated
newest added

Tasty 1.2 introduced a way for tests to specify dependencies. That is, what tests should run before themselves. These dependencies are specified using an AWK-like expression annotated to a `TestTree`....

Currently, the test output puts the result statuses all at the same column, which matches the longest test name. This causes the tests to wrap when you have just one...

console reporter

Currently, if a test takes longer than a hardcoded limit, it's printed out. https://github.com/UnkindPartition/tasty/blob/9b8ce7eb12046ce925b40ff2feb8b3ffde771c8d/core/Test/Tasty/Ingredients/ConsoleReporter.hs#L145-L146 It would be nice to be able to configure this limit. It would also be nice...

Hi, what is the recommended way to go about comparing floating point numbers? I am aware of `@?=` and `@=?` operators, which route to `assertEqual`, but this of course doesn't...

tasty-hunit

This is the current work I have for #309. Please review and test it well before merging; I don't remember (and can't test right now) if it actually worked.

We use `tasty` with `cabal`'s internal libraries and some of our test suites depend on `tasty-golden` while others don't, so running `cabal test library-test --test-options "--accept"` fails with ``` Running...

command-line options

Ever since `tasty-0.10`, the durations of individual tests (above the 0.01s threshold) and the overall duration of the test suite are displayed by the `consoleTestReporter` ingredient. This PR adds a...

There is a `Show` instance for `HUnitFailure` which gives the _Haskell_ representation of this exception. So far so good. I am looking for a function that _pretty-prints_ the exception, for...

question
tasty-hunit

The following code runs forever even if it should not according to the documentation since the tasty runs the tests in case of `TestReporter`. It just wants to print resultDescription...

[main.hs.txt](https://github.com/UnkindPartition/tasty/files/8257852/main.hs.txt) I have a segfault that occurs when tasty is running. The attached test case is as minimized from the original as I was able to get it. It segfaults...