OrleansTestKit
OrleansTestKit copied to clipboard
Unit Test Toolkit for Microsoft Orleans
getting the following when testing a timer ``` System.ArgumentException : Passing a half baked grain as an argument. It is possible that you instantiated a grain class explicitly, as a...
Hi, We use TestKitBase for unit testing grains, but I am encountering when attempting to call a method that resumes handlers in the grain, a `NotImplementedException` on `TestStreamSubscriptionHandle.ResumeAsync`. It makes...
This is based on @enewnham's helper method in the linked issue. I've extended it to allow you to add multiple persistent states on the grain identified by StateName and StorageName....
Orleans 2.3.0 introduced a persistent state facet. With the new system, grain classes do _not_ need to extend `Grain` to use a built-in storage provider (they still need to extend...
Is there any support for Grain Filters while using this test kit? I have grains that implement IIncomingGrainCallFilter, however it seems like the Invoke call is not executed when a...
Hi guys, I really like the idea of this package, but having a hard dependency on Moq is not something that's palatable for my team. I'm happy with the internal...
This pattern works fine at runtime in Orleans, but fails in the test kit. ```c# namespace Tests { public class BaseGrain : Grain { // IAddressable.GetPrimaryKeyString() protected string MyGrainKey =>...
I was looking at the different examples but I couldn't find an example of a journaled grain that is being tested. Is this supported? I just want to call a...
Added support of GetPrimaryKey in GrainReference and IAddressable. #47, #73
Hi, I noticed that the Timeout.InfiniteTimeSpan when it's used with the RegisterTimer doesn't work as expected. It's should only executed once, but it appears not to be. Here is a...