asp.net mvc - Test Method that runs once at the Start of the Test? -


basically have test loads of [testmethods], , need initialize variables , want every time test runs , not make [testmethod] have call it.

can done?

what want use

[testinitialize]     /**      * runs @ beginning , once      **/     public void initialize()     {     } 

tha run @ start of test, or before run first test method test.


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -