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 4:39 PM

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

wrote Jun 16, 2009 at 6:21 AM

wrote Jul 23, 2009 at 8:25 PM

wrote Aug 10, 2009 at 2:59 PM

wrote Aug 10, 2009 at 2:59 PM

wrote Feb 14, 2013 at 2:16 AM

wrote May 16, 2013 at 7:59 AM

wrote May 16, 2013 at 7:59 AM

wrote Jun 14, 2013 at 6:55 AM