Changelog for doctest-parallel-0.2.6
0.2.6
getNumProcessors
is now used to detect the (default) number of GHCi subprocesses to spawn. This should more reliably use all of a system's resources. Fixes #53.- Add Nix support. If the environment variable
NIX_BUILD_TOP
is present an extra package database is added toGHC_PACKAGE_PATH
. This isn't expected to break existing builds, but if it does consider passing--no-nix
. (#34) - The QuickCheck example mentioned in the README now uses
abs
instead ofsort
. This prevents confusing errors whensort
is not imported. Fixes #50.
0.2.5
- Loosen Cabal bounds to >= 2.4 && < 3.9
0.2.4
- Add support for GHC 9.4 (#43)
0.2.3
- Conditionals in Cabal files are now solved (#35). Thanks to @philderbeast for the report and contributions.
- Unexpected outputs in
$setup
blocks are no longer ignored (#39)
0.2.2
- Command line arguments (such as
--randomize-order
) can now be overridden on a per-module basis (#25) - Implicit pre-test module imports can now be disabled using
--no-implicit-module-import
. This can help to test functions from non-exposed modules (#26) runModule
does not swallow import errors anymore (#28)autogen-modules
are not searched for tests anymore (#30)
0.2.1
- C include directories (Cabal field:
include-dirs
) are now passed to GHC when parsing source files (#7) - A migration guide has been added (#11)
- Test order can be randomized using
--randomize-order
. Test order can be made deterministic by adding an optional--seed=N
argument (#12) - Any non-error output can now be surpressed by
--quiet
(#20) - Doctest can now be called using a record for option passing in addition to command line arguments. See
mainFromCabalWithConfig
andmainFromLibraryWithConfig
.
0.2
Changes:
- Support for GHC 9.2 has been added (#4)
- Support for GHC 8.2 has been dropped (#3)
- The dependency
cabal-install-parsers
has been dropped. This trims the dependency tree quite a bit (#3) - The Hackage distribution now ships all files necessary to run
doctest-parallel
's tests (Fixes #1, PR #2)
0.1
Fresh fork from sol/doctest
. See the README for an overview of all the changes.