<?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: Unit Testing in Corona SDK Using Lunatest	</title>
	<atom:link href="https://jessewarden.com/2012/07/unit-testing-in-corona-sdk-using-lunatest.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2012/07/unit-testing-in-corona-sdk-using-lunatest.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Mon, 16 Jul 2012 14:11:58 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2012/07/unit-testing-in-corona-sdk-using-lunatest.html/comment-page-1#comment-244029</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 14:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=3188#comment-244029</guid>

					<description><![CDATA[1. No, but I should. I don&#039;t currently because I haven&#039;t setup a clean way to remove the classes once required. It&#039;s not a clean test if I have classes hanging around, or even globals from bad code. But yes, I should.

2. Geez, that would be nice. As far as I know there isn&#039;t. Corona SDK has a desktop emulator, and this emulator is a command line tool on top of their stuff. It does have a step debugger, but that&#039;s about it. I&#039;m sure there is something out there, though, given Lua&#039;s variety of implementations (embedded testing, etc). I just haven&#039;t looked myself. That, plus, I haven&#039;t done that large of implementations on Lua, heh; usually CI is for larger language frameworksâ€¦ however, now that we have a Node.js version called &lt;a href=&quot;https://github.com/luvit/luvit/&quot; rel=&quot;nofollow&quot;&gt;Luvit&lt;/a&gt;, maybe that&#039;ll change?

3. Yes, they didn&#039;t appear to have the bredth of asserts, and everyone I found online and in forums seemed to say Lunatest was the most legit. That, and I don&#039;t like things mucking around with assert/metatables; that was a selling point of a few of them.

4. You don&#039;t need it if you&#039;re not using Corona SDK. If you are, you need it, else it&#039;ll below up. Search for &quot;[jwarden&quot; in the code, you&#039;ll see my 3 minor changes.

No, there&#039;s nothing to keep up to date, really. That is, unless a newer build of Corona SDK breaks it, in which case I&#039;ll fix it.

5. I know there is luacov, but I haven&#039;t been able to get it to work yet. Not sure if it&#039;s my class-as-closure based system, or the way I do require or what yet...]]></description>
			<content:encoded><![CDATA[<p>1. No, but I should. I don&#8217;t currently because I haven&#8217;t setup a clean way to remove the classes once required. It&#8217;s not a clean test if I have classes hanging around, or even globals from bad code. But yes, I should.</p>
<p>2. Geez, that would be nice. As far as I know there isn&#8217;t. Corona SDK has a desktop emulator, and this emulator is a command line tool on top of their stuff. It does have a step debugger, but that&#8217;s about it. I&#8217;m sure there is something out there, though, given Lua&#8217;s variety of implementations (embedded testing, etc). I just haven&#8217;t looked myself. That, plus, I haven&#8217;t done that large of implementations on Lua, heh; usually CI is for larger language frameworksâ€¦ however, now that we have a Node.js version called <a href="https://github.com/luvit/luvit/" rel="nofollow">Luvit</a>, maybe that&#8217;ll change?</p>
<p>3. Yes, they didn&#8217;t appear to have the bredth of asserts, and everyone I found online and in forums seemed to say Lunatest was the most legit. That, and I don&#8217;t like things mucking around with assert/metatables; that was a selling point of a few of them.</p>
<p>4. You don&#8217;t need it if you&#8217;re not using Corona SDK. If you are, you need it, else it&#8217;ll below up. Search for &#8220;[jwarden&#8221; in the code, you&#8217;ll see my 3 minor changes.</p>
<p>No, there&#8217;s nothing to keep up to date, really. That is, unless a newer build of Corona SDK breaks it, in which case I&#8217;ll fix it.</p>
<p>5. I know there is luacov, but I haven&#8217;t been able to get it to work yet. Not sure if it&#8217;s my class-as-closure based system, or the way I do require or what yet&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg		</title>
		<link>https://jessewarden.com/2012/07/unit-testing-in-corona-sdk-using-lunatest.html/comment-page-1#comment-244025</link>

		<dc:creator><![CDATA[Greg]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 05:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=3188#comment-244025</guid>

					<description><![CDATA[PS.  Can I another one :)

Q5 - Is there a coverage report you can get?  like RCov for ruby?]]></description>
			<content:encoded><![CDATA[<p>PS.  Can I another one :)</p>
<p>Q5 &#8211; Is there a coverage report you can get?  like RCov for ruby?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg		</title>
		<link>https://jessewarden.com/2012/07/unit-testing-in-corona-sdk-using-lunatest.html/comment-page-1#comment-244024</link>

		<dc:creator><![CDATA[Greg]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 05:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=3188#comment-244024</guid>

					<description><![CDATA[thanks for the article - can I ask a few questions:

Q1 - So do you just effectively run the tests every time you run up the app during development then? (noting you run it via main.lua)  Wondering if there are some addition seconds/minutes of lag time each time you want to rerun your app during development after making a change

Q2 - Does Lunatest have an autorun / continuous integration tool, so it just runs every time you save a file (like Ruby autotest) and then you can get a growl notification if there is a fail?  Or perhaps the issue is then the tool would need to have it&#039;s own lua engine and not use the Corona SDK???  Would be nice though

Q3 - Did you look at any other libraries out there re unit testing for Corona?  i.e. if so and you&#039;ve already gone through this we might then jump straight to Lunatest too

Q4 - So you recommend to get the modified version of Lunatest you did correct?  Is there any issues in terms of Lunatest updates here?  Not sure if you&#039;re considering considering keeping your fork up to date for this?  (or how much hacking was involved to change)

thanks again]]></description>
			<content:encoded><![CDATA[<p>thanks for the article &#8211; can I ask a few questions:</p>
<p>Q1 &#8211; So do you just effectively run the tests every time you run up the app during development then? (noting you run it via main.lua)  Wondering if there are some addition seconds/minutes of lag time each time you want to rerun your app during development after making a change</p>
<p>Q2 &#8211; Does Lunatest have an autorun / continuous integration tool, so it just runs every time you save a file (like Ruby autotest) and then you can get a growl notification if there is a fail?  Or perhaps the issue is then the tool would need to have it&#8217;s own lua engine and not use the Corona SDK???  Would be nice though</p>
<p>Q3 &#8211; Did you look at any other libraries out there re unit testing for Corona?  i.e. if so and you&#8217;ve already gone through this we might then jump straight to Lunatest too</p>
<p>Q4 &#8211; So you recommend to get the modified version of Lunatest you did correct?  Is there any issues in terms of Lunatest updates here?  Not sure if you&#8217;re considering considering keeping your fork up to date for this?  (or how much hacking was involved to change)</p>
<p>thanks again</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: &#187; Unit Testing in Corona SDK Using Lunatest iOS Gaming		</title>
		<link>https://jessewarden.com/2012/07/unit-testing-in-corona-sdk-using-lunatest.html/comment-page-1#comment-244005</link>

		<dc:creator><![CDATA[&#187; Unit Testing in Corona SDK Using Lunatest iOS Gaming]]></dc:creator>
		<pubDate>Wed, 11 Jul 2012 23:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=3188#comment-244005</guid>

					<description><![CDATA[[...] Also posted on jessewarden.com. [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Also posted on jessewarden.com. [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
