Nunit 3.0 Beta 4; 使用TestCaseSource不会发现testing用例

我有一个项目,我正在阅读testing用例的excel文件。阅读excel和将案例映射到C#类的代码就是这样完成的

class AllTests{ public static IEnumerable DemoCases { get { //Read the excel map the cases here yield return testcasedataObject; } } } 

testing方法看起来像这样

  [Test, TestCaseSource(typeof(AllTests), "DemoCases")] public void DemoTest( ) { //Test execution code } 

现在,所有这些都可以在Nunit 2.6.4上正常运行,但是在testing版本中,excel并没有在发现testing用例时被读取。 我需要与TestCaseSource一起使用testing版的TestFixtureSource。