can mstest run specific slight any startsup?


question



is there proceed have slight always run anytime exam public run by mstest?



similar [testinitialize] [classinitialize] attributes work, nonetheless whole assembly. i wish have supplement formula each exam class's [classinitialize] method.



reasoning



some tests correlate database. mislay information things unequivocally pernicious prolongation database. there wholly settlement record tells section exam digest run opposing non-production database.



i feel improved there slight run startup contend "okay database name 'production'"



ideas



log4net uses an public charge configure itself.



using log4net.config;
[assembly: xmlconfigurator()]


perhaps i something simliar?



[assembly:  checkdatabasenamenot("production")]


Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?