<div class="gmail_quote">On Wed, Feb 23, 2011 at 3:57 PM, Herman van Rink <span dir="ltr"><<a href="mailto:rink@initfour.nl">rink@initfour.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 20-02-11 18:57, Kasun Lakpriya wrote:<br>
> Hi Herman,<br>
><br>
> I got to ask a small question it's about git. As you mentioned in the<br>
> tracker I added test/config.sample.inc.php. Then from the morning I<br>
> tried to get a patch including it. But, git diff, not containing it<br>
> like in svn diff.<br>
><br>
> I am not that much familiar with git yet. Can you help me to solve<br>
> this first?<br>
<br>
</div>The way would be to:<br>
git add <file><br>
git diff --cached # to get a diff view<br>
git commit<br>
git format-patch origin/master<br>
<br></blockquote><div>Thank you, Herman. It worked.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
For more hints see: <a href="http://wiki.phpmyadmin.net/pma/Git" target="_blank">http://wiki.phpmyadmin.net/pma/Git</a><br>
<div class="im"><br>
><br>
> *Testing Status*<br>
> - All the selenium tests are passing now.<br>
> - I figured out some thing like this about chdir()'ing issue,<br>
><br>
> If we run the tests from AllTests.php it's running correctly and the<br>
> problem coming when we need to run one test at a time. I don't know<br>
> this is something purposely implemented?<br>
<br>
</div>There might have been a reason for this, I'm not really sure.<br>
I would like however to be able to run tests separately when developing<br>
them.<br></blockquote><div><br></div><div>Yes. I will try. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
So if we could abstract away the differences between wui.php, running<br>
phpunit <test> and any other useful approach cleanly I would be all for it.<br></blockquote><div><br></div><div>I don't know how to run this wui.php. In the wiki it says that to open it in a browser but nothing happen when I did that. Please correct me if I am doing something wrong.</div>
<div><br></div><div>Few ideas I have in my mind about testing.</div><div><br></div><div>Testing module</div><div>|</div><div>|__core-code testing</div><div>| |_PHPUnit tests *</div><div>|</div><div>|__Interface testing</div>
<div> |_selenium/other interface testing scripts **</div><div> |_converted PHP tests from above ***</div><div><br></div><div><br></div><div>* - contains all the core function tests for code.</div><div>** - Here we can have scripts and run them as appropriate in the browser itself.</div>
<div>*** - Here we can have PHP tests so that we can test as PHPUnit tests. </div><div> Another thing is, here we can have some grouped tests like, for example, AllAjaxifiedInterfaceTests.php, so that we can run this test suite to test once Java-script enabled and once disabled. Like wise we can group any possible scenarios.</div>
<div><br></div><div>These are few ideas I have, please correct me and add all of your comments if I am wrong.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
--<br>
Met vriendelijke groet / Regards,<br>
<br>
Herman van Rink<br>
Initfour websolutions<br>
<br>
<br>
</font></blockquote></div>-- <br><div>Thanks and Regards,</div><div>Kasun</div><div><br></div>