We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is not an issue, but a question. I wonder is it possible to extend frozen attribute and set the value? To have something like this.
public class TestClass { public string TestProperty { get; set; } } [Test] public void Test_method([Frozen("someString")] string parameter, TestClass sut) { Assert.That(sut.TestProperty, Is.EqualTo("someString")); }
The text was updated successfully, but these errors were encountered:
The Frozen attribute does not support this use case. In reality what you would like to use is something that can Inject a certain value.
Frozen
Inject
I suggest you asking this question directly at the AutoFixture repo.
If you want, you can even start working on a PR for it. What you'd need is:
If you end up creating an issue in AutoFixture, please link this one :)
Sorry, something went wrong.
I created this PR to solve the issue AutoFixture/AutoFixture#1199
No branches or pull requests
It is not an issue, but a question. I wonder is it possible to extend frozen attribute and set the value? To have something like this.
The text was updated successfully, but these errors were encountered: