<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 03.07.2012 14:09, Sam Tuke wrote:<br>
</div>
<blockquote cite="mid:7580286.s1ESMU4WlO@sam-desktop" type="cite">
<pre wrap="">On Saturday 30 Jun 2012 22:52:48 eMerzh wrote:
</pre>
<blockquote type="cite">
<pre wrap="">May be the automatic test (with a good coverage!) may help us here..
but we have a loooong job to make everything testable :/
</pre>
</blockquote>
<pre wrap="">[...] Whilst we're on the subject, can I ask why we're using simpletest rather than
PHPUnit?
</pre>
</blockquote>
While I like simpletest for the easy execution of the testsuite via
browser[1], with VisualPHPUnit[2] we have that for PHPUnit as well.
Furthermore, I am using netbeans to get the benefits of an
integrated development environement with xdebug, git and trac
integration (use it to track my work).PHPUnit is well integrated,
supporting test execution and code coverage annotations[3]. As
Thomas already pointed out, the integration with Hudson or any other
CI is also much more common and well documented [4] than with
simpletest.<br>
<br>
Admitting that I am biased here, who else is interested in PHPUnit
for owncloud? What would we loose in comparison to simpletest?<br>
<br>
so long<br>
<br>
Jörn<br>
<br>
[1] <a href="http://demo.owncloud.org/tests/">http://demo.owncloud.org/tests/</a><br>
[2]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://github.com/NSinopoli/VisualPHPUnit">https://github.com/NSinopoli/VisualPHPUnit</a><br>
[3] eg. netbeans:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://netbeans.org/kb/docs/php/phpunit.html#code-coverage">http://netbeans.org/kb/docs/php/phpunit.html</a><br>
[4]
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://jenkins-php.org/">http://jenkins-php.org/</a><br>
<br>
<pre class="moz-signature" cols="72">--
Jörn Friedrich Dreyer (<a class="moz-txt-link-abbreviated" href="mailto:jfd@owncloud.com">jfd@owncloud.com</a>)
Software Developer
ownCloud GmbH
Your Data, Your Cloud, Your Way!
ownCloud GmbH, GF: Markus Rex, Holger Dyroff
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)</pre>
</body>
</html>