<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: In-process Web Integration Tests with Jetty and JWebUnit</title>
	<link>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/</link>
	<description>Johannes Brodwall's Musings on Software Architecture and Programming</description>
	<pubDate>Fri, 10 Oct 2008 23:17:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: Kristoffer</title>
		<link>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-84800</link>
		<author>Kristoffer</author>
		<pubDate>Tue, 02 Jan 2007 12:09:03 +0000</pubDate>
		<guid>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-84800</guid>
					<description>I can&#39;t get the example up and running from within my favourite IDE(A) after generating the project files with mvn idea:idea because web.xml is not conformant to the Servlet 2.4 specification.&lt;br&gt;&lt;br&gt;Ok, so I know this is a bit childish :) but I guess you&#39;ve been using some other IDE of which doesn&#39;t provide proper XSD validation(?).&lt;br&gt;&lt;br&gt;Anyhow, the following fragment (slightly revised) is valid:&lt;br&gt;&lt;br&gt;&#60;servlet-mapping&#62;&lt;br&gt;  &#60;servlet-name&#62;my&#60;/servlet-name&#62;&lt;br&gt;  &#60;url-pattern&#62;/my/*&#60;/url-pattern&#62;&lt;br&gt;&#60;/servlet-mapping&#62;</description>
		<content:encoded><![CDATA[<p>I can&#39;t get the example up and running from within my favourite IDE(A) after generating the project files with mvn idea:idea because web.xml is not conformant to the Servlet 2.4 specification.</p>
<p>Ok, so I know this is a bit childish :) but I guess you&#39;ve been using some other IDE of which doesn&#39;t provide proper XSD validation(?).</p>
<p>Anyhow, the following fragment (slightly revised) is valid:</p>
<p>&lt;servlet-mapping&gt;<br />  &lt;servlet-name&gt;my&lt;/servlet-name&gt;<br />  &lt;url-pattern&gt;/my/*&lt;/url-pattern&gt;<br />&lt;/servlet-mapping&gt;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Kristoffer</title>
		<link>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-645</link>
		<author>Kristoffer</author>
		<pubDate>Tue, 02 Jan 2007 15:09:03 +0000</pubDate>
		<guid>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-645</guid>
					<description>I can't get the example up and running from within my favourite IDE(A) after generating the project files with mvn idea:idea because web.xml is not conformant to the Servlet 2.4 specification.

Ok, so I know this is a bit childish :) but I guess you've been using some other IDE of which doesn't provide proper XSD validation(?).

Anyhow, the following fragment (slightly revised) is valid:

&#60;servlet-mapping&#62;
  &#60;servlet-name&#62;my&#60;/servlet-name&#62;
  &#60;url-pattern&#62;/my/*&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;</description>
		<content:encoded><![CDATA[<p>I can&#8217;t get the example up and running from within my favourite IDE(A) after generating the project files with mvn idea:idea because web.xml is not conformant to the Servlet 2.4 specification.</p>
<p>Ok, so I know this is a bit childish :) but I guess you&#8217;ve been using some other IDE of which doesn&#8217;t provide proper XSD validation(?).</p>
<p>Anyhow, the following fragment (slightly revised) is valid:</p>
<p>&lt;servlet-mapping&gt;<br />
  &lt;servlet-name&gt;my&lt;/servlet-name&gt;<br />
  &lt;url-pattern&gt;/my/*&lt;/url-pattern&gt;<br />
&lt;/servlet-mapping&gt;</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Kristoffer</title>
		<link>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-84801</link>
		<author>Kristoffer</author>
		<pubDate>Wed, 03 Jan 2007 12:04:51 +0000</pubDate>
		<guid>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-84801</guid>
					<description>One thing worth mentioning (at least for IntelliJ users) is that if you implement tests like Johannes describes in the blog and put them into a sub-module in a multi-module Maven2 project, you will have to explicitly specify the working directory for that module when running the integration test(s). If not you will get FileNotFoundExceptions followed by HTTP 503s for whatever resource you try to hit afterwards.</description>
		<content:encoded><![CDATA[<p>One thing worth mentioning (at least for IntelliJ users) is that if you implement tests like Johannes describes in the blog and put them into a sub-module in a multi-module Maven2 project, you will have to explicitly specify the working directory for that module when running the integration test(s). If not you will get FileNotFoundExceptions followed by HTTP 503s for whatever resource you try to hit afterwards.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Kristoffer</title>
		<link>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-650</link>
		<author>Kristoffer</author>
		<pubDate>Wed, 03 Jan 2007 15:04:51 +0000</pubDate>
		<guid>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-650</guid>
					<description>One thing worth mentioning (at least for IntelliJ users) is that if you implement tests like Johannes describes in the blog and put them into a sub-module in a multi-module Maven2 project, you will have to explicitly specify the working directory for that module when running the integration test(s). If not you will get FileNotFoundExceptions followed by HTTP 503s for whatever resource you try to hit afterwards.</description>
		<content:encoded><![CDATA[<p>One thing worth mentioning (at least for IntelliJ users) is that if you implement tests like Johannes describes in the blog and put them into a sub-module in a multi-module Maven2 project, you will have to explicitly specify the working directory for that module when running the integration test(s). If not you will get FileNotFoundExceptions followed by HTTP 503s for whatever resource you try to hit afterwards.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Arnljot.com &#187; Bark and CubicTest</title>
		<link>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-879</link>
		<author>Arnljot.com &#187; Bark and CubicTest</author>
		<pubDate>Wed, 10 Jan 2007 08:10:45 +0000</pubDate>
		<guid>http://www.brodwall.com/johannes/blog/2006/12/10/in-process-web-integration-tests-with-jetty-and-jwebunit/#comment-879</guid>
					<description>[...] Christian and I spoke of a few things, mostly how it would be interesting to run the Watir ruby scripts in JRuby inside CubicTest to get a tighter integration allowing the ruby scripts to directly report results to CubicTest. And we also discussed how exporters are made since I might be interested in writing a JWebUnit exporter considering this article about integration of Jetty and JWebUnit. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Christian and I spoke of a few things, mostly how it would be interesting to run the Watir ruby scripts in JRuby inside CubicTest to get a tighter integration allowing the ruby scripts to directly report results to CubicTest. And we also discussed how exporters are made since I might be interested in writing a JWebUnit exporter considering this article about integration of Jetty and JWebUnit. [&#8230;]</p>
]]></content:encoded>
				</item>
</channel>
</rss>
