Roslyn Mocks = Rocks

Joined February 2015
4 Photos and videos
7.0.0-alpha.2 has just been released on NuGet - release link is github.com/JasonBock/Rocks/r…

Version 6.4.4 was just pushed to NuGet: nuget.org/packages/Rocks/6.4… Lots of small-ish bugs were fixed in this release (hopefully no one ever ran into them :) ).
6.4.1 was just pushed to NuGet. DIMs are now supported in Rocks :) nuget.org/packages/Rocks/6.4…

1
The 6.3.0 version was just pushed to NuGet - here are the latest bits: nuget.org/packages/Rocks/6.3… Basically added support for properties with init and record types.

1
1
6.2.0 was just pushed to NuGet - get the latest hot bits! nuget.org/packages/Rocks/ Also....let's talk about future work - a thread... 1/n
1
To be clear, just because another framework has a feature doesn't mean it will be automatically added to Rocks. But, if there's a good argument to be made for a feature, it'll be included in a future release 5/n
1
It's been fun to work on Rocks, and there's opportunity to keep evolving it in the future! 6/n
5.1.0 was just pushed to NuGet. Rocks can now handle pointers and ref struct types! nuget.org/packages/Rocks/5.1…
1
2
Also, you don't have to create a function for the callback. This works just fine: rock.Methods().PointerParameter(new()).Callback(_ => *_ = 20);
Just passed the first tests that verify that @RocksFramework supports pointers. Boom. :) Span<T> (ref structs in general) is also in the pipe as well.
1
1
It's finally here. 5.0.0 C# 9/.NET 5 support Based on source generators Have fun! nuget.org/packages/Rocks/5.0…
2
4
5.0.0-rc3 just got published. Getting very close to a final release! Mocks created using source generators - nuget.org/packages/Rocks/5.0…
1
rc2 is a success! Grab the latest package here: nuget.org/packages/Rocks/5.0…
5.0.0-rc1 was just published. This is the first release using source generators, so they'll probably be a lot of bugs, but it DOES work! Give it a whirl - nuget.org/packages/Rocks/5.0…
1
1
And yes, there is a bug already where it's throwing an ArgumentNullException. Oh....well. It....works locally? :)
1