Comments (3)
You should be able to register a global value provider that looks for a collection and returns an empty collection.
The next question would be whether that's something that should be in the default list or not...
from teststack.dossier.
I think that would make sense as a default, as long as it was possible to remove. Would it make sense to fill collections with anonymous values too, at least for simple types like ints or strings?
from teststack.dossier.
On reflection to avoid breaking changes I'd like to keep the current default, but I think there is value in providing anonymous value suppliers to do both things so that the user can decide to add them to the global (or local) suppliers.
Do either of you want to have a go at adding anonymous value suppliers for your suggestions?
from teststack.dossier.
Related Issues (20)
- ListBuilder proxy objects don't override "Set" method HOT 9
- Provide some kind of "Retrieve" or "Sample" method, which returns one of the objects *already* built by a builder HOT 4
- Ability to specify a Seed value for all random generation HOT 2
- Setting defaults in constructor when creating lists causes exception HOT 1
- new() constraint on TestDataBuilder<,> HOT 5
- "Doesn't not matter" - typo on wiki page HOT 1
- Add ITestDataBuilder<TObject> interface, missing after migration from NTestDataBuilder HOT 2
- Calling TestDataBuilder.CreateListOfSize() when the builder have a constructor calls the constructor with one extra call HOT 12
- Can I turn off the anonymous values generation for a builder? HOT 9
- Question about usage scenarios HOT 4
- Create object list based in relation to ohter object list HOT 3
- Use builder in for constructor parameter HOT 6
- Licence question HOT 2
- Pick is missing in nuget TestStack.Dossier 3.2.1 HOT 4
- Building lists of relational database entities HOT 5
- RFQ - Weigh in on whether the implicit operator (negating need for .Build()) is confusing or useful HOT 5
- Simple bool Get() is failing to return default(bool) (aka False) HOT 4
- Creating objects with properties of complex types HOT 2
- Looking for example of a builder that builds an object with a collections of child objects HOT 2
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 teststack.dossier.