<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Universal Manifest Format For Unit Tests (and maybe Talos)</title>
	<atom:link href="http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/feed/" rel="self" type="application/rss+xml" />
	<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/</link>
	<description>infrequent updates and long delays</description>
	<pubDate>Sun, 20 May 2012 20:45:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joel Maher</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15955</link>
		<dc:creator>Joel Maher</dc:creator>
		<pubDate>Wed, 12 May 2010 15:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15955</guid>
		<description>Guess I am a bit late to the game here.

We all agree that reftest and the current manifest solution works great.  It can be extended and the tools can support a wide range of flexibility.  There is also a need to have a better solution for identifying and conditionally running our other tests thanks to things like mobile and e10s.

A few things to think about:
1) reftest has its own internal parser with bugs and glitches.  It works well because we all understand it, so we don't need to change it
2) the reftest manifests are getting more complex with e10s, mobile, 64 bit and new os versions, and preferences.  This results in them being harder to read and what happens if a specific test has to do different things based on different conditions?
3) what is an ideal manifest for mochitest?  Mochitests are really just a listing of test files and don't need the ==, != type of operators, nor the conditional clauses.  
4) how would this work for xpcshell?  xpcshell is a list of directories, followed by a list of files including the head and tail files (in appropriate order).  I do not see a way to make the reftest format work for xpcshell
5) would having &#62;1 manifest type be a problem?  so lets say we keep the reftest* suites with the reftest manifest, could we use a different format for mochitest and xpcshell that would meet their needs better, maybe json, xml, yaml ?
6) would the ability to add layers (think css) to existing or future manifest formats help alleviate some concerns here?  It would sure solve the problem of munging the manifests with fennec specific stuff.  One idea is we could keep reftest manifest format, but read it into an object and overlay the conditions and rules with another manifest file.  This overlay file could be the same format or a different format.  

Those are just some questions and things to think about.</description>
		<content:encoded><![CDATA[<p>Guess I am a bit late to the game here.</p>
<p>We all agree that reftest and the current manifest solution works great.  It can be extended and the tools can support a wide range of flexibility.  There is also a need to have a better solution for identifying and conditionally running our other tests thanks to things like mobile and e10s.</p>
<p>A few things to think about:<br />
1) reftest has its own internal parser with bugs and glitches.  It works well because we all understand it, so we don&#8217;t need to change it<br />
2) the reftest manifests are getting more complex with e10s, mobile, 64 bit and new os versions, and preferences.  This results in them being harder to read and what happens if a specific test has to do different things based on different conditions?<br />
3) what is an ideal manifest for mochitest?  Mochitests are really just a listing of test files and don&#8217;t need the ==, != type of operators, nor the conditional clauses.<br />
4) how would this work for xpcshell?  xpcshell is a list of directories, followed by a list of files including the head and tail files (in appropriate order).  I do not see a way to make the reftest format work for xpcshell<br />
5) would having &gt;1 manifest type be a problem?  so lets say we keep the reftest* suites with the reftest manifest, could we use a different format for mochitest and xpcshell that would meet their needs better, maybe json, xml, yaml ?<br />
6) would the ability to add layers (think css) to existing or future manifest formats help alleviate some concerns here?  It would sure solve the problem of munging the manifests with fennec specific stuff.  One idea is we could keep reftest manifest format, but read it into an object and overlay the conditions and rules with another manifest file.  This overlay file could be the same format or a different format.  </p>
<p>Those are just some questions and things to think about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15953</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 12 May 2010 13:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15953</guid>
		<description>So, in bug https://bugzilla.mozilla.org/show_bug.cgi?id=553351, we'd like to be able to have little benchmarks that get run.  I imagine there could be a few different ways of running these little things, which the manifest should support.  Things like:

- Run N times, and take the average or minimum time
- Have the harness time how long the benchmark takes to run, or, expect the benchmark to output its own metrics</description>
		<content:encoded><![CDATA[<p>So, in bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=553351" rel="nofollow">https://bugzilla.mozilla.org/show_bug.cgi?id=553351</a>, we&#8217;d like to be able to have little benchmarks that get run.  I imagine there could be a few different ways of running these little things, which the manifest should support.  Things like:</p>
<p>- Run N times, and take the average or minimum time<br />
- Have the harness time how long the benchmark takes to run, or, expect the benchmark to output its own metrics</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted Mielczarek</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15941</link>
		<dc:creator>Ted Mielczarek</dc:creator>
		<pubDate>Tue, 11 May 2010 14:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15941</guid>
		<description>The reftest format is a bit of a PITA to parse, and it starts to get pretty ugly when you add more complexity to it. I do like its simplicity in base form, but when you start layering more things (fails-if, asserts-if, etc) on top of it it gets unwieldy.

Also, the reftest manifest format is not a good fit for any of our other test suites. We could certainly wedge them in there, like jsreftest has done, at the expense of making them harder to read and write, but I don't think that's a great solution. We could also invent a new manifest format for Mochitest, but that means we're not much better than the current state, where you have to learn a new syntax for each harness' manifest.

I agree that simply changing reftest to accomplish other goals isn't a great reason. If we can remove some of the complexity of the reftest manifests by converting them to a new format, then I think we'll have a more compelling argument.</description>
		<content:encoded><![CDATA[<p>The reftest format is a bit of a PITA to parse, and it starts to get pretty ugly when you add more complexity to it. I do like its simplicity in base form, but when you start layering more things (fails-if, asserts-if, etc) on top of it it gets unwieldy.</p>
<p>Also, the reftest manifest format is not a good fit for any of our other test suites. We could certainly wedge them in there, like jsreftest has done, at the expense of making them harder to read and write, but I don&#8217;t think that&#8217;s a great solution. We could also invent a new manifest format for Mochitest, but that means we&#8217;re not much better than the current state, where you have to learn a new syntax for each harness&#8217; manifest.</p>
<p>I agree that simply changing reftest to accomplish other goals isn&#8217;t a great reason. If we can remove some of the complexity of the reftest manifests by converting them to a new format, then I think we&#8217;ll have a more compelling argument.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert O'Callahan</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15918</link>
		<dc:creator>Robert O'Callahan</dc:creator>
		<pubDate>Mon, 10 May 2010 03:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15918</guid>
		<description>What Jesse said --- the reftest format can be extended in arbitrary ways, and we already have a lot of manifests in that format, and it's easy to work with. What's not to like?</description>
		<content:encoded><![CDATA[<p>What Jesse said &#8212; the reftest format can be extended in arbitrary ways, and we already have a lot of manifests in that format, and it&#8217;s easy to work with. What&#8217;s not to like?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Standard8</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15897</link>
		<dc:creator>Standard8</dc:creator>
		<pubDate>Sat, 08 May 2010 09:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15897</guid>
		<description>Don't forget for xpcshell tests, it is critical that these can be run one at a time, or per-sub directory (it'd be nice to do that for other types of test as well!).</description>
		<content:encoded><![CDATA[<p>Don&#8217;t forget for xpcshell tests, it is critical that these can be run one at a time, or per-sub directory (it&#8217;d be nice to do that for other types of test as well!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Ruderman</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15895</link>
		<dc:creator>Jesse Ruderman</dc:creator>
		<pubDate>Sat, 08 May 2010 07:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15895</guid>
		<description>Reftest already supports conditional tests, which you can use for Firefox vs Fennec.

It's not hard to add new features like "temporarily set this pref" to reftest.js.  That was the answer when we wanted to move jstests to use reftest.js a few months ago, and I don't see why the answer would be different for mochitests.

JSON is not inherently more flexible, but it is harder to work with in a text editor.

I'm not sure what you mean by "per-branch info".  Tests live in the same hg repository as code, so when code branches, the test manifest branches with it.</description>
		<content:encoded><![CDATA[<p>Reftest already supports conditional tests, which you can use for Firefox vs Fennec.</p>
<p>It&#8217;s not hard to add new features like &#8220;temporarily set this pref&#8221; to reftest.js.  That was the answer when we wanted to move jstests to use reftest.js a few months ago, and I don&#8217;t see why the answer would be different for mochitests.</p>
<p>JSON is not inherently more flexible, but it is harder to work with in a text editor.</p>
<p>I&#8217;m not sure what you mean by &#8220;per-branch info&#8221;.  Tests live in the same hg repository as code, so when code branches, the test manifest branches with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alice</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15892</link>
		<dc:creator>alice</dc:creator>
		<pubDate>Fri, 07 May 2010 23:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15892</guid>
		<description>@jruderman The interest is in having a more flexible format, one that could allow for more per-test information (preferences, per-branch info, etc) that is not supported in the current simple reftest/jstest format.  At the moment this information is handle in inconsistent ways depending on the test, making it both hard to add and then also hard to track after the fact (ie, what prefs run with this test?).</description>
		<content:encoded><![CDATA[<p>@jruderman The interest is in having a more flexible format, one that could allow for more per-test information (preferences, per-branch info, etc) that is not supported in the current simple reftest/jstest format.  At the moment this information is handle in inconsistent ways depending on the test, making it both hard to add and then also hard to track after the fact (ie, what prefs run with this test?).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint Talbert</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15891</link>
		<dc:creator>Clint Talbert</dc:creator>
		<pubDate>Fri, 07 May 2010 23:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15891</guid>
		<description>@Mossop, yeah the project is just getting off the ground, so that wiki page will get more useful as we get further along in the design.  I think the work you're doing in bug 370750 is valid as it solves one of the problems we have now (specifically, that it sucks to edit mochitests in the makefiles).  The universal manifest is the way forward to help us be more intentional and flexible with these tests as our harnesses and our platform changes.  For instance we can use these manifests to mark and filter our mochitests.  So we can create filters of "these tests fail on fennec" and we can either ignore those or run those, depending on what we want to do.</description>
		<content:encoded><![CDATA[<p>@Mossop, yeah the project is just getting off the ground, so that wiki page will get more useful as we get further along in the design.  I think the work you&#8217;re doing in bug 370750 is valid as it solves one of the problems we have now (specifically, that it sucks to edit mochitests in the makefiles).  The universal manifest is the way forward to help us be more intentional and flexible with these tests as our harnesses and our platform changes.  For instance we can use these manifests to mark and filter our mochitests.  So we can create filters of &#8220;these tests fail on fennec&#8221; and we can either ignore those or run those, depending on what we want to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Ruderman</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15890</link>
		<dc:creator>Jesse Ruderman</dc:creator>
		<pubDate>Fri, 07 May 2010 22:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15890</guid>
		<description>What I like about the current reftest manifest format is that it's concise and scannable.  Moving to JSON would lose that.</description>
		<content:encoded><![CDATA[<p>What I like about the current reftest manifest format is that it&#8217;s concise and scannable.  Moving to JSON would lose that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Ruderman</title>
		<link>http://alice.nodelman.net/blog/post/universal-manifest-format-for-unit-tests-and-maybe-talos/comment-page-1/#comment-15889</link>
		<dc:creator>Jesse Ruderman</dc:creator>
		<pubDate>Fri, 07 May 2010 22:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://alice.nodelman.net/blog/?p=83#comment-15889</guid>
		<description>reftests, jstests, and crashtests all use the same manifest format, parsed by reftest.js.  I think it's a pretty good manifest format, and I don't understand why you want to invent a new one.  Why not just convert mochitest to use the reftest manifest format?</description>
		<content:encoded><![CDATA[<p>reftests, jstests, and crashtests all use the same manifest format, parsed by reftest.js.  I think it&#8217;s a pretty good manifest format, and I don&#8217;t understand why you want to invent a new one.  Why not just convert mochitest to use the reftest manifest format?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

