简体   繁体   中英

VS.Net 2008 Unit testing path problem

I want to have a good test setup but, I can't find a way to put files in the "In" folder under TestResuls.

How do I put files in the "In" folder.

下面的代码将为您提供out文件夹的位置-从此处轻松确定in文件夹

Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM