Comments (2)
Thanks, I realized the problem was elsewhere. And, honestly, I totally forgot that #1323 was merged in 5.0 and not 4.0. My bad. We can close this one.
from autofixture.
@Kralizek I assume you've checked the issue in v4 which doesn't have the AsyncEnumerableRelay
, and there are no plans to add it retroactively. As a reminder #1323 has been merged into the release
branch version and not master
. )
The issue does not reproduce on v5 preview 8
As a workaround you could add a customization to relay the request to a regular collection, or build your own engine parts for the fixture. I'm trying to make some time in my schedule to push v5 in the coming weeks, so hopefully you'll not need it for long. 🤞
fixture.Customize<IAsyncEnumerable<string>>(c => c.FromFactory((string[] x) => x.ToAsyncEnumerable()));
from autofixture.
Related Issues (20)
- 🐛 Fixture Customization with FromFactory not working as expected HOT 1
- 🐛 Fixture.CreateMany sometimes creates a few bool fields all with false values HOT 4
- 🐛 Tests with MemberAutoDataAttribute Run Only for the First Object Collection from Member Data. HOT 4
- Generator<T> hangs when used to generate a sample from limited range HOT 2
- 🚨 GDPR compliance issue HOT 1
- ✨ Repeatable random numbers
- 🐛 [AutoFixture.Xunit2] MemberAutoDataAttribute generates fixtures for test method parameters provided from MemberData HOT 3
- 🐛 Enum data type is not applied when a member has both `[StringLength]` and `[EnumDataType]` annotations HOT 4
- 🐛 Unexpected ObjectCreationExceptionWithPath or if not a bug at least a confusing description HOT 3
- ✨ Support FakeItEasy 8 HOT 1
- ✨ Support for NUnit 4 HOT 16
- 🐛 FromFactory doesn't honor the Range attribute HOT 6
- ✨ Accept `ISpecimentBuilder` as value generator for `With` HOT 1
- ✨ DataAnnotations support for specimen factories
- 🐛 Auto properties on large record types causes severe performance degradation HOT 4
- ICustomization for DateOnly causes a hang. HOT 1
- 🐛 RandomNumericSequenceGenerator with limits, can create values outside of these limits in certain scenarios HOT 1
- autofixture is missing NuGet package README file HOT 2
- autofixture.automoq is missing NuGet package README file 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 autofixture.