tag:blogger.com,1999:blog-10748614.post2560121360078575710..comments2024-02-28T12:34:09.691-05:00Comments on FrazzledDad: MS Test and Test Support FilesJim Holmeshttp://www.blogger.com/profile/05869146736565695900noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-10748614.post-34057829881152030092011-10-12T11:04:53.865-04:002011-10-12T11:04:53.865-04:00I know this is a little off topic here but does an...I know this is a little off topic here but does anyone know how to remove the folders that I assume mstest is making in my project folder when running telerik ui tests with CCNet? the folder name looks like this<br /><br />devapps_BIZ-DEVBUILD 2011-10-11 17_45_20Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10748614.post-90117796596182959652011-08-09T16:06:39.831-04:002011-08-09T16:06:39.831-04:00That last one was what I needed... seems so hard t...That last one was what I needed... seems so hard to find useful documentation for this product.Halhttps://www.blogger.com/profile/00300223994288480615noreply@blogger.comtag:blogger.com,1999:blog-10748614.post-70455210463492423942010-09-17T12:47:49.735-04:002010-09-17T12:47:49.735-04:00You can also just add the DeploymentItem attribute...You can also just add the DeploymentItem attribute to the TestClass:<br /><br />[TestClass]<br />[DeploymentItem(@"C:\vsprojects\MyProject\Tests\Test Support\XmlContentFileOne.xml")]<br />public class ....Bennoreply@blogger.comtag:blogger.com,1999:blog-10748614.post-41861465287130647092007-07-01T21:28:00.000-04:002007-07-01T21:28:00.000-04:00In addition to being slow I hated how MS Test eval...In addition to being slow I hated how MS Test evaluated coverage. It seemed like you'd have an if statement 'or-ed' with two expressions. And it wouldn't give you coverage for the line at all, even if you were hitting the if statements in all cases. There are tons of classes in my project that were sitting at ~97.2 coverage, when it should be %100Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10748614.post-20374383920071602292007-06-23T10:11:00.000-04:002007-06-23T10:11:00.000-04:00Templates for test generation are a good thing. Y...Templates for test generation are a good thing. You should also look at Scott Bellware's NUnit Snippets (http://shrinkster.com/q7y) or make use of templates in ReSharper or other similar tools.<BR/><BR/>I've been of a mind to port Bellware's NUnit snippets over to MS Test, but haven't gotten around to it...Jim Holmeshttps://www.blogger.com/profile/05869146736565695900noreply@blogger.comtag:blogger.com,1999:blog-10748614.post-77737210703843537612007-06-18T16:00:00.000-04:002007-06-18T16:00:00.000-04:00I feel your pain Jim. My company shelled out the b...I feel your pain Jim. My company shelled out the big bucks for VSTS. I've abandoned the MS Test structure for it's slow speed and lack of support of other UnitTest frameworks.<BR/><BR/>Long Live TestDriven.NET!!!<BR/><BR/>However I do like MS's boiler plate test generation. I'm hoping Jay Flowers' "Doubler" reflector add-in will be just as good, if not better. (Once I get around to learning it.)Anonymoushttps://www.blogger.com/profile/11401787555145556826noreply@blogger.comtag:blogger.com,1999:blog-10748614.post-48754770282268923652007-06-18T15:58:00.000-04:002007-06-18T15:58:00.000-04:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/11401787555145556826noreply@blogger.comtag:blogger.com,1999:blog-10748614.post-26353013573757499792007-06-18T15:31:00.000-04:002007-06-18T15:31:00.000-04:00My "brittle" comment was about the mess of having ...My "brittle" comment was about the mess of having to separately mark out things which get copied over during a "normal" build process. It's more brittle than usual because I have to handle that in two separate places.<BR/><BR/>I don't understand why they need to handle that differently for MS Test.Jim Holmeshttps://www.blogger.com/profile/05869146736565695900noreply@blogger.comtag:blogger.com,1999:blog-10748614.post-31987964403397095912007-06-18T15:27:00.000-04:002007-06-18T15:27:00.000-04:00I'm not sure how that's any more brittle than usin...I'm not sure how that's any more brittle than using the DeploymentItem attribute. If you're external file isn't there, then that doesn't help you. Instead, what you could do is make external files embedded resources within your test project and then you'll always know it's available during test execution.Anonymousnoreply@blogger.com