<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Testing ASP.NET MVC Views, from New Project to the Build Server</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Events/aspConf/aspConf/Testing-ASP-NET-MVC-Views-from-New-Project-to-the-Build-Server/rss"></atom:link>
	<image>
		<url>http://media.ch9.ms/ch9/5bd5/f9a81944-dff0-4279-a1e3-fc3bf5935bd5/aspConfTestingMvcViews_220.jpg</url>
		<title>Channel 9 - Testing ASP.NET MVC Views, from New Project to the Build Server</title>
		<link></link>
	</image>
	<description></description>
	<link></link>
	<language>en</language>
	<pubDate>Mon, 20 May 2013 08:23:33 GMT</pubDate>
	<lastBuildDate>Mon, 20 May 2013 08:23:33 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Testing ASP.NET MVC Views, from New Project to the Build Server</title>
		<description>
			<![CDATA[<p>The session shows a way to test your views (and only your views). The approach seems a bit fragile though.</p><p>posted by BennyM</p>]]>
		</description>
		<link>http://channel9.msdn.com/Events/aspConf/aspConf/Testing-ASP-NET-MVC-Views-from-New-Project-to-the-Build-Server#c634785690857468126</link>
		<pubDate>Sun, 22 Jul 2012 15:51:25 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Events/aspConf/aspConf/Testing-ASP-NET-MVC-Views-from-New-Project-to-the-Build-Server#c634785690857468126</guid>
		<dc:creator>BennyM</dc:creator>
	</item>
	<item>
		<title>Re: Testing ASP.NET MVC Views, from New Project to the Build Server</title>
		<description>
			<![CDATA[<p>Certainly there are aspects of testing views that are less than ideal.</p><p>To me the ideal workflow would be something like this.</p><p>// Instantiate ViewEngine</p><p>// Render a view to a string by providing a path to a template and an in-memory model</p><p>// Verify.</p><p>But that's not the world we live in, so Llewellyn (@llewellynfalco) and&nbsp;<span>Henrik (@henebb) found another way. &nbsp;</span></p><p>When someone says an approach is fragile, and we're talking about testing, to me that means the test fails when it shouldn't--reacting to changes in the environment that I don't care about. &nbsp;We've found some ways to resolve some of these sources of fragility. &nbsp;For example, we resolved the problem caused by specifying a relative path when starting up CassiniDev. &nbsp;The exact location of the webapp on the disk is not something I care about, so that was fragility and we&nbsp;resolved&nbsp;it. &nbsp;</p><p>Some parts remain fragile, like the problem with port numbers. &nbsp;I don't care about the port number, but it makes my test break when I change it. &nbsp;After the talk, Llewellyn and I brainstromed some ideas for resolving the problem with ports, but its too early to say if any of those ideas will pan out.</p><p>I'd like to know some specific areas you found fragile and if you had any ideas about resolving them. &nbsp;Testing Views isn't pretty, but I know of at least three teams using this approach in production, and we're all pretty happy with the results. &nbsp;The day to day &quot;practical&quot; fragility is not as high as one might think after watching a 1 hour demo.</p><p>posted by Magnifico</p>]]>
		</description>
		<link>http://channel9.msdn.com/Events/aspConf/aspConf/Testing-ASP-NET-MVC-Views-from-New-Project-to-the-Build-Server#c634785725306918959</link>
		<pubDate>Sun, 22 Jul 2012 16:48:50 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Events/aspConf/aspConf/Testing-ASP-NET-MVC-Views-from-New-Project-to-the-Build-Server#c634785725306918959</guid>
		<dc:creator>Magnifico</dc:creator>
	</item>
	<item>
		<title>Re: Testing ASP.NET MVC Views, from New Project to the Build Server</title>
		<description>
			<![CDATA[<p>Here are a couple follow up notes about getting the project to work on the build server. &nbsp;</p><ul><li>First, the &quot;ambiguous&nbsp;branch&quot; issue blocking the checkout resolved itself at some point. &nbsp;But I never noticed that during the demo because... </li><li>I forgot to enable package restore when setting up the project. &nbsp;The .gitignore file was configured to ignore the /packages folder, I should have turned on package restore. &nbsp;Once I turned the feature on, the project compiled normally and passed its tests. &nbsp;The last check-in on the Demo branch includes this fix.&nbsp;<a href="https://github.com/jamesrcounts/aspConf-demo">https://github.com/jamesrcounts/aspConf-demo</a> </li></ul><p>posted by Magnifico</p>]]>
		</description>
		<link>http://channel9.msdn.com/Events/aspConf/aspConf/Testing-ASP-NET-MVC-Views-from-New-Project-to-the-Build-Server#c634789197513204779</link>
		<pubDate>Thu, 26 Jul 2012 17:15:51 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Events/aspConf/aspConf/Testing-ASP-NET-MVC-Views-from-New-Project-to-the-Build-Server#c634789197513204779</guid>
		<dc:creator>Magnifico</dc:creator>
	</item>
</channel>
</rss>