mattflo/NSpec — Issue #19: Generic baseclass support
Author: mattsve
Created: 2011-10-24 09:43:47+00:00
State: open

Would be good if NSpec supported a generic baseclass, e.g

public class BaseClass : nspec
{
protected IDbSet DbSet
{
get { ... }
}

}

public class describe_RealTestClass : BaseClass
{
}

I find that my unit tests to verify the database bindings for the different models all are very similar and use the same resources over and over. Would be very good if NSpec supported this case.