c# - Could we use only one ClassInitialize for all the Unit Testing classes? -


i started internship job consists of seting unit tests on projects.

i have implemented dozens of tests , want create mechanism restores original database after or before each run.

i have necessary scripts create, populate , drop database, don't want call mechanism each test classes, instead call once.

is possible create classiniatialize() called once when start 1 or tests?

edit

all i/you need use assemblyinitialize() , assemblycleanup() , resolved, ;)

all i/you need use assemblyinitialize() , assemblycleanup() , resolved, ;)


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -