Changelog for tasty-1.5.1

Changes

Version 1.5.1

2024-06-22

Version 1.5

2023-09-10

Version 1.4.3

2022-12-18

Version 1.4.2.3

2022-05-10

Version 1.4.2.2

2022-05-10

Version 1.4.2.1

Fix warnings under GHC 9.2

Version 1.4.2

Version 1.4.1

Deduplicate command line options when there is more than one TestReporter. Expose the function that does that, uniqueOptionDescriptions.

Version 1.4.0.3

Fix CPP warning/error macro expansion producing 'defined' has undefined behavior

Version 1.4.0.2

Automatically disable the dependency on the clock package when compiled by ghcjs.

Version 1.4.0.1

The only point of this release is to introduce compatibility with GHCs back to 7.0 (see https://github.com/UnkindPartition/tasty/pull/287).

Note, however, that these changes are not merged to the master branch, and the future releases will only support the GHC/base versions from the last 5 years, as per our usual policy. To test with even older GHCs, you'll have to use this particular version of tasty (or have the constraint solver pick it for you when testing with older GHCs).

The source of this release is in the support-old-ghcs branch of the tasty repository.

Version 1.4

Version 1.3.1

Version 1.3

Version 1.2.3

Version 1.2.2

Version 1.2.1

Version 1.2

Make it possible to declare dependencies between tests (see the README for details)

Version 1.1.0.4

Make tasty work with GHCJS

Version 1.1.0.3

Fix compatibility with GHC 8.6

Version 1.1.0.2

Fix a bug where some (mostly Asian) characters would break alignment in the terminal output

Version 1.1.0.1

Fix a bug where -l was still using / instead of . as a field separator

Version 1.1

NOTE: This major release contains some breaking changes to the semantics of patterns. In the original pattern design I didn't notice the conflict between using / as a field separator and as the AWK syntax for pattern matching /.../.

The new patterns have been around for a relatively short time (5 months), so hopefully the breakage won't be too big. I'm sorry about any problems caused by the change.

See https://github.com/UnkindPartition/tasty/issues/220 for the discussion.

Version 1.0.1.1

Fix a bug where a test suite that uses resources would hang if interrupted

Version 1.0.1

Version 1.0.0.1

Adjust lower bounds for the dependencies (mtl and optparse-applicative)

Version 1.0

Version 0.12.0.1

Fix compatibility with GHC 8.4

Version 0.12

Backward compat breaking revision of Test.Tasty.Ingredients.ConsoleReporter that exposes the name of tests/groups.

Version 0.11.3

Expose and document several of the internals of Test.Tasty.Ingredients.ConsoleReporter.

Version 0.11.2.5

Fix compatibility with GHC 7.4

Version 0.11.2.4

  1. Make the --quiet mode more efficient on a large number of tests
  2. Fix a bug where a cursor would disappear if the test suite was terminated by a signal other than SIGINT.

Version 0.11.2.3

Make filtering tests (-p) work faster

Version 0.11.2.2

Fix a critical bug in the quiet mode (-q/--quiet): the exit status could be wrong or the test suite could hang.

Version 0.11.2.1

Fix compatibility with the latest unbounded-delays

Version 0.11.2

Add composeReporters, a function to run multiple reporter ingredients

Version 0.11.1

Introduce mkOptionCLParser and mkFlagCLParser

Version 0.11.0.4

Fix compatibility with optparse-applicative-0.13

Version 0.11.0.3

Switch from regex-tdfa-rc to regex-tdfa, which got a new maintainer.

Version 0.11.0.2

Clarify IsTest’s specification with regard to exceptions

Version 0.11.0.1

Use monotonic clock when measuring durations.

Version 0.11

New field resultShortDescription of Result

Version 0.10.1.2

Version 0.10.1.1

Version 0.10.1

Export Test.Tasty.Runners.formatMessage

Version 0.10.0.4

Don't output ANSI codes for the Emacs terminal emulator

Version 0.10.0.3

Better handle the situation when there are no ingredients to run

Version 0.10.0.2

Split the changelog into per-project changelogs

Version 0.10.0.1

Update to optparse-applicative 0.11

Version 0.10

Version 0.9.0.1

Upgrade to optparse-applicative-0.10.

Version 0.8.1.3

Be careful not to export the Show (a -> b) instance, see https://github.com/UnkindPartition/tasty/issues/71

Version 0.8.1.2

Hide cursor when running tests

Version 0.8.1.1

Fix for GHC 7.9

Version 0.8.0.4

Remove the old 'colors' flag description from the cabal file

Version 0.8.0.2

Make ansi-terminal an unconditional dependency

Version 0.8

Version 0.7

Version 0.6

Version 0.5.2.1

Depend on ansi-terminal >= 0.6.1. This fixes some issues with colors on Windows.

Version 0.5.2

Version 0.5.1

Export ResourceSpec from Test.Tasty.Runners

Version 0.5

Add a capability to acquire and release resources. See the «Resources» section in the Test.Tasty docs.

For the end users, the API is backwards-compatible.

Test runners may have to be adjusted — there is a new constructor of TestTree and a new argument of foldTestTree.

Version 0.4.2

Add defaultIngredients

Version 0.4.1.1

Print the failure description in red

Version 0.4.0.1

Fix a bug (#25)

Version 0.4

The big change in this release is introduction of ingredients, which is a replacement for runners. But unless you have a custom runner, this is unlikely to affect you much.

The Ingredient data type has replaced the Runner type.

The following functions have been renamed and possibly changed their types:

Added in this release:

NumThreads is no longer a core option, but is automatically included in the test reporting ingredients (see its haddock).

Version 0.3.1

Version 0.3

Version 0.2

Version 0.1.1

Set lower bound on optparse-applicative dependency version