File: CHANGELOG.md

package info (click to toggle)
haskell-tasty-golden 2.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 104 kB
  • sloc: haskell: 267; makefile: 4
file content (132 lines) | stat: -rw-r--r-- 2,798 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Changes
=======

Version 2.3.2
-------------

Add a `--no-create` flag

Version 2.3.1.3
---------------

Make the environment variable `TASTY_ACCEPT=True` work, and make the value
    case-insensitive (so `TASTY_ACCEPT=true` works, too)

Version 2.3.1.2
---------------

Docs: link to an introductory blog post

Version 2.3.1.1
---------------

Fix compatibility with `optparse-applicative-0.13`

Version 2.3.1
-------------

Intercept exceptions thrown by the test, adhering to the new tasty API
contract.

Version 2.3.0.2
---------------

Switch from temporary-rc to temporary

Version 2.3.0.1
---------------

Impose a lower bound version constraint on bytestring.

Version 2.3
-----------

* Accepting tests is no longer done by a separate ingredient; instead it is now
  an option that affects tests themselves.
    * `--accept` used to run only golden tests; now all tests are run, but only
      golden tests are affected by this option
    * when accepting, all the usual options apply (such as `-j`)
    * when accepting, the interace is the same as when running
    * `defaultMain` and `acceptingTests` are kept for compatibility, but do not
      do anything and are obsolete
* When a golden test file does not exist, it is created automatically, even when
  `--accept` is not specified. You'll see a message like

        UnboxedTuples:                 OK (0.04s)
          Golden file did not exist; created

* No longer use lazy IO
    * `ValueGetter` type is gone (replaced by `IO`)
    * Because of that, the type of the primitive `goldenTest` is changed
    * `vgReadFile` function is gone (replaced by `Data.ByteString.readFile`)

Version 2.2.2.4
---------------

* Warn when some tests threw exceptions during `--accept`
* Properly handle exceptions; don't swallow Ctrl-C

Version 2.2.2.3
---------------

Restore compatibility with older compilers

Version 2.2.2.1
---------------

Relax `Cabal` dependency

Version 2.2.2
-------------

Add `findByExtension`

Version 2.2.1.2
---------------

Catch exceptions when accepting golden tests

Version 2.2.1.1
---------------

Switch to `temporary-rc`

Version 2.2.1
-------------

* Fix a bug where the result of the comparison function would reference yet
  unread data from a semiclosed file and the file gets closed, leading to a
  runtime exception
* Export `writeBinaryFile`
* Improve the docs
* Update to work with `tasty-0.8`

Version 2.2.0.2
---------------

Update to work with `tasty-0.7`

Version 2.2.0.1
---------------

Update to work with `tasty-0.5`

Version 2.2
-----------

Migrate to ingredients

Version 2.1
-----------

Add `goldenVsStringDiff`

Version 2.0.1
-------------

Update to work with `tasty-0.2`

Version 2.0
-----------

Initial release of `tasty-golden` (derived from `test-framework-golden-1.1.x`)