haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

Add *testCaseTask functions #483

Closed ratsclub closed 7 months ago

ratsclub commented 7 months ago

This PR introduces the missing *testCaseTask functions.

For context, I wanted to remove code similar to this from the codebases I work with: https://github.com/demystifyfp/FsToolkit.ErrorHandling/blob/a0fa8595acd4c4581e8e0cb8586e45c7a7f5a47b/tests/FsToolkit.ErrorHandling.TaskResult.Tests

ratsclub commented 7 months ago

@farlee2121 What's the process to release a new minor with this addition?

farlee2121 commented 7 months ago

There's a FAKE target that automates release. You'll need to set environment variables for GITHUB_TOKEN and NUGET_TOKEN. The version number is taken from RELEASE_NOTES.md, so you'll need to update that too.

Might be best if we push our changes out in one release, assuming no issues come up with my PR