Comments (3)
FakeBus
doesn't do any serialization, it's actually the SagaFixture
thing that runs a full bus behind the scenes.
And I believe this is an oversight on my part, as e.g. I would want SagaFixture
to be able to provide a realistic experience also when using e.g. Protobuf to serialize message, and so it should be configurable.
Let me just take a look. Maybe I will release an update in a few hours 🙂
from rebus.testhelpers.
OK it turned out that it was actually possible 🙂
Check out this test case that I've just added.
In the test I created a local method GetConfigurer
that returns a RebusConfigurer
that has Newtonsoft JSON.NET configured. This way it seems like loops can be serialized just fine. 🙂
Let me know if it doesn't work like you expected.
from rebus.testhelpers.
Yep, I just got the test run and your solution worked like a charm! Thanks a lot for your help and for making Rebus great!
from rebus.testhelpers.
Related Issues (8)
- A bug in FakeRoutingApi.Defer method HOT 2
- Write readme and wiki docs for test helpers HOT 2
- FakeMessageContext doesn't support cancellation token HOT 1
- Use ISagaSerializer in SagaFixture (InMemorySagaStorage ) HOT 3
- Possible issue with the 'PrepareConflict' HOT 7
- Bump Rebus.TestHelpers to include Rebus 7 HOT 2
- Rebus 8 update broke saga test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rebus.testhelpers.