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

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -