<div dir="ltr">I've created change request with integration tests. Please take a look on it:<div><a href="https://review.openstack.org/35104">https://review.openstack.org/35104</a><br><div><br></div><div>Tests are the Python copy of <a href="https://github.com/fungi/grtest/blob/master/grtest" style="font-family:arial,sans-serif;font-size:13px" target="_blank">https://github.com/fungi/grtest/blob/master/grtest</a> bash file and do not cover all git-review functionality (this can be done later).<br>
<div><br></div><div><div>Tests require Gerrit war file (like 2.6.1-gerrit.war) in the .gerrit directory in the git-review project (like git-review/.gerrit/2.6.1-gerrit.war). This has to be done manually.</div></div></div>
<div><br></div><div>To run tests the following command can be done:</div><div><br></div><div>tox -e py27.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 21, 2013 at 12:50 AM, Jeremy Stanley <span dir="ltr"><<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</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 2013-06-21 00:01:53 +0400 (+0400), Dina Belova wrote:<br>
> I may spend some time on this subject, so please share your<br>
> script if you can so that I can look through it and see what can<br>
> be done to provide some automated gating.<br>
<br>
</div>(Removed openstack-dev from the Cc: to reduce unnecessary<br>
cross-posting.)<br>
<br>
The current, very hideous exercise script can be had from...<br>
<br>
<a href="https://github.com/fungi/grtest/blob/master/grtest" target="_blank">https://github.com/fungi/grtest/blob/master/grtest</a><br>
<br>
It assumes a number of things about our Gerrit sandbox including<br>
project layout/contents. It also (if invoked with --system) will<br>
sudo pip install the version of git-review you're testing, so it's<br>
not recommended for running on any sensitive systems... I usually<br>
use a throwaway VM if I'm doing system install/upgrade/uninstall<br>
tests with it.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Jeremy Stanley<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Best regards,</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Dina</div>
</div>