using fitSharp.Machine.Model;
namespace fitSharp.Samples {
public class SampleSlimFixture : DomainAdapter {
private readonly SampleDomain systemUnderTest = new SampleDomain();
public object SystemUnderTest { get { return systemUnderTest; } }
public void SomeFixtureMethod() {...}
}
public class SampleDomain {
public void SomeMethod() {...}
}
}
Now we can invoke methods on the fixture and the SUT class from a Slim table.
|script|SampleSlimFixture|
|SomeFixtureMethod|
|SomeMethod|
No comments:
Post a Comment