Changelog for tasty-lua-1.1.1
Changelog
tasty-lua
uses PVP Versioning.
tasty-lua-1.1.1
Released 2024-01-18.
- Relaxed upper bound for tasty, text, and bytestring, allowing tasty-1.5, text-2.1, and bytestring-0.12.
tasty-lua-1.1.0
Released 2023-03-13.
- Fixed
peekOutcome
, allowing any result type. This gives much better results when working with custom error objects.
tasty-lua-1.0.2
Released 2022-02-19.
- Relaxed upper bound for hslua-* packages to allow 2.2 versions.
tasty-lua-1.0.1
Released 2022-01-29.
-
Support for property testing: the new functions
forall
and a set of generators are provided for property testing. The tabletasty.arbitrary
holds default generators for basic types:tasty.arbitrary.boolean
tasty.arbitrary.integer
tasty.arbitrary.number
tasty.arbitrary.string
Additional generators can be added via the Haskell function
registerArbitrary
. -
Allow dot instead of underscore in assertion functions: It's often easier to type dot than an underscore, so writing
assert.is.x
orassert.are.x
is an acceptable alternative toassert.is_x
andassert.are_x
, respectively. -
Added new assertion functions
is_true
andis_false
,error_equals
, anderror_satifies
. -
Improved info message of
assert.error_matches
; the message now includes the expected pattern as well as the actual error. -
Relaxed upper bound for hslua-core, hslua-marshalling.
tasty-lua-0.2.3.2
Released 2021-01-11.
- Relaxed upper bound for tasty, allowing
tasty-1.4.*
.
tasty-lua-0.2.3.1
Released 2020-10-16.
- Relaxed upper bound for hslua, allow
hslua-1.3.*
.
tasty-lua-0.2.3
Released 2020-08-14.
-
CI now also builds with for GHC 8.10.
-
Errors are now explicitly converted to strings before matched when using
error_matches
. -
Relax version limits for tasty and hslua, allowing tasty-1.3.* and hslua-1.2.*.
tasty-lua-0.2.2
Released 2020-01-26.
-
Avoid compilation warnings on GHC 8.2 and older. Monoid instances on older GHC versions require an explicit implementation of
mappend
. Newer instances use(<>)
from Semigroup. -
Improved CI tests: build with more GHC versions, build with stack, and ensure that there are no HLint errors.
tasty-lua-0.2.1
Released 2020-01-26.
- Fixed an issue with error reporting: the bug caused test-group names to be added multiple times when reporting a test failure.
tasty-lua-0.2.0.1
Released 2019-06-19.
- List all files in cabal file: stack.yaml and test/tasty-lua.lua were added to the list of extra source files.
tasty-lua-0.2.0
Released 2019-05-19.
-
Renamed
testFileWith
totestLuaFile
, andtestsFromFile
totranslateResultsFromFile
. -
Fixed and extended test summary: if all tests pass, a brief summary about the number of passed tests is show. Furthermore, some bugs (caused by a misused Foldable instance) have been fixed.
-
Code has been split into multiple sub-modules.
tasty-lua-0.1.1
Released 2019-05-17.
- Add new function
testFileWith
, allowing to run a file as a single test case. Lua tests should be defined withtasty.lua
. Failures, if any, are summarized in the failure message of the test.
0.1.0
Released 2019-05-11.
- First version. Released on an unsuspecting world.