Visual Studio Unit Testing

Malo se spoznavam s tem delom Visual Studia. Zanima me, kako v test projekt dodam poljubno datoteko (recimo txt), katero potrebujem pri testih.
Avtor: PRiMoZ, objavljeno na portalu SloDug.si (Arhiv)

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.

ExAmigan
ExAmigan - petek, 09. februar 2007

Datoteki, ki si jo dodal v projekt, lahko v tem primeru v lastnostih nastaviš Copy to Ouput Directory z Do not copy na Copy always ali Copy if newer.

PRiMoZ
PRiMoZ - četrtek, 08. februar 2007

Sem mislil bolj to, da bi mi ga on skopiral še v tisti svoj executing directory. (TestResults /..datum/Out)

F34R
F34R - četrtek, 08. februar 2007

V Solution explorerju -> Desni klik -> Add -> Existing Item