Parameterized Unit Testing Class Types
I have the following test in xUnit:
I want to parameterize the test by giving classes (like ServiceEventsModel) instead of writing each one manually. so far, I've tried this:
but gives an error making it typeof(model) doesn't work and creates more errors.
I want to parameterize the test by giving classes (like ServiceEventsModel) instead of writing each one manually. so far, I've tried this:
but gives an error making it typeof(model) doesn't work and creates more errors.
