
C#
山里娃娃哈
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
How to read a file line by line with C# and save to another file?
How to read a file with C#?(1) Solution one: string strReadFilePath = @"C:\\Users\\HTang\\Desktop\\demo1.wadl"; StreamReader srReadFile = new StreamReader(strReadFilePath); ...原创 2018-07-11 22:15:50 · 235 阅读 · 0 评论 -
Add configuration File for UnitTest
Add Configuration FileAdd app.config to unit test projectAdd <appSetting> elementSet field from config fileUse field in method testWrite code to create fileWrite code to remove fileUse a configu...原创 2018-07-13 16:36:42 · 329 阅读 · 0 评论 -
TestContext Property
TestContext Property1. Create property 'TestContext' in all your test classes.2. Automatically created by unit test frame work.3. Set before each test is run.4. Useful for accessing test information.5...原创 2018-07-13 16:49:34 · 321 阅读 · 0 评论 -
Initialization Attributes and Cleanup Attributes
原创 2018-07-13 16:54:34 · 266 阅读 · 0 评论