Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,22 @@ Use `sequentialTestGroup` to mitigate these problems.
[Known
Issues](https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md#known-issues).

## Migration from `test-framework`

`tasty` architecture is quite similar to `test-framework`, so a few mechanical changes are usually enough to migrate:

* Replace packages in `build-depends`:
* `test-framework` -> `tasty`,
* `test-framework-hunit` -> `tasty-hunit`,
* `test-framework-quickcheck2` -> `tasty-quickcheck`.
* Replace module imports:
* `Test.Framework` -> `Test.Tasty`,
* `Test.Framework.Providers.HUnit` -> `Test.Tasty.HUnit`,
* `Test.Framework.Providers.QuickCheck2` -> `Test.Tasty.QuickCheck`.
* Replace in type signatures:
* `Test` -> `TestTree`.
* Replace `defaultMain tests` with `defaultMain (testGroup "All" tests)`.

## Press

Blog posts and other publications related to tasty. If you wrote or just found
Expand Down
Loading