You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have for a generic class multiple TestFixtures, how NUnit recommends and you run this test then with Gallio it will throw following exception:
[error] An exception was thrown while exploring an NUnit test assembly. Location: C:\Users\coolOrange\.hudson\jobs\asdftrunk\workspace\bin\Testsasdf.Tests.DLL Reference: asdf.XamlUtilies.Tests, Version=16.0.1077.13667, Culture=neutral, PublicKeyToken=null Details: System.NullReferenceException: Object reference not set to an instance of an object. at NUnit.Core.Builders.NUnitTestFixtureBuilder.BuildSingleFixture(Type type, Attribute attr) at NUnit.Core.Builders.NUnitTestFixtureBuilder.BuildMultipleFixtures(Type type, Attribute[] attrs) at NUnit.Core.Builders.NUnitTestFixtureBuilder.BuildFrom(Type type) at NUnit.Core.Extensibility.SuiteBuilderCollection.BuildFrom(Type type) at NUnit.Core.TestFixtureBuilder.BuildFrom(Type type) at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites) at NUnit.Core.TestSuiteBuilder.Build(TestPackage package) at NUnit.Core.SimpleTestRunner.Load(TestPackage package) at NUnit.Core.ProxyTestRunner.Load(TestPackage package) at NUnit.Core.ProxyTestRunner.Load(TestPackage package) at NUnit.Core.RemoteTestRunner.Load(TestPackage package) at Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.CreateTestRunner(String assemblyLocation) at Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.BuildAssemblyTest(Test parent) at Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.ExploreAssembly(Boolean skipChildren) at Gallio.NUnitAdapter.Model.NUnitTestExplorer.ExploreImpl(IReflectionPolicy reflectionPolicy, ICodeElementInfo codeElement)
If you have for a generic class multiple TestFixtures, how NUnit recommends and you run this test then with Gallio it will throw following exception:
[error] An exception was thrown while exploring an NUnit test assembly. Location: C:\Users\coolOrange\.hudson\jobs\asdftrunk\workspace\bin\Testsasdf.Tests.DLL Reference: asdf.XamlUtilies.Tests, Version=16.0.1077.13667, Culture=neutral, PublicKeyToken=null Details: System.NullReferenceException: Object reference not set to an instance of an object. at NUnit.Core.Builders.NUnitTestFixtureBuilder.BuildSingleFixture(Type type, Attribute attr) at NUnit.Core.Builders.NUnitTestFixtureBuilder.BuildMultipleFixtures(Type type, Attribute[] attrs) at NUnit.Core.Builders.NUnitTestFixtureBuilder.BuildFrom(Type type) at NUnit.Core.Extensibility.SuiteBuilderCollection.BuildFrom(Type type) at NUnit.Core.TestFixtureBuilder.BuildFrom(Type type) at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites) at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites) at NUnit.Core.TestSuiteBuilder.Build(TestPackage package) at NUnit.Core.SimpleTestRunner.Load(TestPackage package) at NUnit.Core.ProxyTestRunner.Load(TestPackage package) at NUnit.Core.ProxyTestRunner.Load(TestPackage package) at NUnit.Core.RemoteTestRunner.Load(TestPackage package) at Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.CreateTestRunner(String assemblyLocation) at Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.BuildAssemblyTest(Test parent) at Gallio.NUnitAdapter.Model.NUnitNativeTestExplorerEngine.ExploreAssembly(Boolean skipChildren) at Gallio.NUnitAdapter.Model.NUnitTestExplorer.ExploreImpl(IReflectionPolicy reflectionPolicy, ICodeElementInfo codeElement)