public void return_the_workspace_filter_from_the_ultimate_parent_suite() { var workspaceSuite = new WorkspaceSuite("suite") { Filter = new WorkspaceFilter() { Filters = new FixtureFilter[] { FixtureFilter.Namespace("NS1") } } }; var test = new Test("something"); var suite = new Suite("a suite"); suite.AddTest(test); workspaceSuite.AddSuite(suite); test.GetWorkspace().ShouldBeTheSameAs(workspaceSuite.Filter); }
public void SetUp() { filter = new TestFilter(); suite1 = new WorkspaceSuite("a"); suite2 = new WorkspaceSuite("b"); suite3 = new WorkspaceSuite("c"); }