Hi Jeff,

I've just added in another set of tests, this time for xUnit via the Gallio UI.

Running the tests through xUnit.net runner all is well and all tests pass.  However, running this via Gallio fails with:

Internal Error
System.TypeLoadException: Declaration referenced in a method implementation cannot be a final method. Type: 'Xunit.Extensions.TheoryCommand'. Assembly: 'xunit.extensions, Version=1.1.0.1323, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c'.

My test is very simple at the moment ...

       [Theory, ExcelData(@"TestData\BasicOriginalData.xls", "select * from TestData")]
        public void TestCategories(string filePath, string fileName, bool removeNumbers, string expectedCat, string expectedSubCat, int expectedBPM)
        {
            FileCategoryStringCheck fileCat = new FileCategoryStringCheck();
            fileCat.FileCategory(filePath, fileName);
            Assert.True(fileCat.Category == expectedCat);
            Assert.True(fileCat.SubCategory == expectedSubCat);
        }

Reply via email to