3

Resolved

Does not support protected methods marked as [SetUp]

description

I am using the S#arpArchitecture library and in its test base classes it defines a protected virtual SetUp() method. When trying to execute tests that inherit from one of these base classes NUnitForVS fails the test with the error:
 
NUnitTestAdapter throws exception: System.Exception, Method has wrong signature: SharpArch.Testing.NUnit.NHibernate.RepositoryTestsBase, SetUp
 
These tests execute and pass using both the NUnit GUI and the NUnit console.

comments

fmorriso wrote May 18, 2009 at 5:39 PM

Add another vote for fixing this from a another "S#arpie".

wrote Jun 16, 2009 at 7:21 AM

wrote Jul 23, 2009 at 9:25 PM

wrote Aug 10, 2009 at 3:59 PM

wrote Aug 10, 2009 at 3:59 PM

wrote Feb 14, 2013 at 3:16 AM

wrote May 16, 2013 at 8:59 AM

wrote May 16, 2013 at 8:59 AM

wrote Jun 14, 2013 at 7:55 AM