-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with AutoFixture #15
Comments
I looked at the library today for evaluation. The way AutoFixture works, it does not play nice with it. AutoFixture just sees a class with an empty constructor. So indeed you need some kind of customization to tell AutoFixture to use the From method. With a few minutes of coding I came up with this:
Probably some room for improvement, but it works.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Has anyone gotten this package to work with AutoFixture to automatically create your test data?
Maybe with some type of generic AutoFixture specimen builder?
I believe AutoFixture would like the properties to be public set or for the object to have a public ctor.
The text was updated successfully, but these errors were encountered: