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

Mark deprecated functions with ObsoleteAttribute #429

Closed charlieturndorf closed 1 year ago

charlieturndorf commented 2 years ago

I've been using runTestsInAssembly for a long time, and just now found out it's deprecated when I went to bootstrap a new test project. No complaints about the deprecation! I think this is a positive change.

Though if functions are marked [<Obsolete("Deprecated, please use... instead")>] then people will see a warning and have a chance to update their code before a breaking change hits.

Anyway team, thanks for your hard work on this excellent testing framework!