Skip to content

Is it possible to "Freeze" parameter specifying value? #34

Open
@raffii90

Description

@raffii90

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"));
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions