Get FakeItEasy 8.3.0!
fixed: ArgumentNullException when adding null-valued EventHandlers to a fake
new: much faster delegate faking, now testing on macOS
thanks to @jonorossi and github users stakx and StephenFriend
https://t.co/qK9euMSXAP
Get FakeItEasy 8.2.0!
new: Fake.Reset (replaces Fake.ClearConfiguration) esets all changes made to the fake after it was created
new: net8.0 TFM support
fixed: confusing "creation failure" message
https://t.co/ZfNIyOIstk
Get FakeItEasy 8.1.0!
new: first-class support for capturing arguments to fake calls
fixed: argument matchers trigger after their rule already fired the maximum number of times
with special thanks to Søren Palmund (Miista on github)
https://t.co/8Az51KjRq2
If anyone wants to practice writing Roslyn analyzers on something really useless, I have a candidate. See https://t.co/puRFUrmy1A
I propose a @fakeiteasyfx analyzer to enforce this on the really easy cases. Like "IFoo" interface names, and classes that start with "B", etc
Tu jefe te va a hacer migrar las #pruebasunitarias que tienes en moq? Aquí te muestro una introduccion sus mejores alternativas, NSusbstitute y FakeItEasy donde puedes familiarizarte y comparar la sintaxis! #unittesting#dotnet
https://t.co/w2aoCHN6Bx
@laurentkempe@JetBrainsRider Actually, I don't think the AI assistant's suggestion works...
`Matches` takes an expression tree, and you can't convert a block lambda to an expression tree.
Instead you would need to do something like `.Invokes((int arg) => capturedArgument = arg)` after the call specification
Get FakeItEasy 7.4.0!
fixed: NullReferenceException thrown when building unmet expectation message that includes an anonymous parameter. (And other anonymous parameter handling improvements)
Thanks to contributions from github users kaeedo and andreycha
https://t.co/RIuVIzIdI4
Thanks to some hard work from team member @thomaslevesque, and some #GitHubActions, our little A.Fake<Bot> created its first pull request yesterday, updating the documentation for the FakeItEasy Analyzers project!
https://t.co/cPclSSmEUM
#theygrowupsofast