OrleansContrib / OrleansTestKit

Unit Test Toolkit for Microsoft Orleans
http://dotnet.github.io/orleans
MIT License
76 stars 42 forks source link

Changes to support NSubstitute for mocking. #128

Closed sameernafdey closed 6 months ago

sameernafdey commented 1 year ago

While OrleansTestKit team decides on real adaptability for supporting multiple mocking frameworks, I've added changes to support NSubstitute for mocking.

To build a package for NSubstitute:

dotnet pack -c Release -p:Flavor=nsubstitute

To build package for Moq:

dotnet pack -c Release 

This is not best and elegant solution for maintenance preceptive, but I will try my best.

seniorquico commented 6 months ago

Sorry this didn't get traction. Unfortunately, I don't think this is something I can take on maintenance-wise. I hope we can revisit the mocking story in the not-too-distant future.