<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 12:21 PM, Mike Spreitzer <span dir="ltr"><<a href="mailto:mspreitz@us.ibm.com" target="_blank">mspreitz@us.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font>Brant Knudson <<a href="mailto:blk@acm.org" target="_blank">blk@acm.org</a>> wrote on 01/09/2014
10:07:27 AM:<div class="im"><br>
<br>
> When I was starting out, I ran devstack ( </div></font></tt><a href="http://devstack.org/" target="_blank"><tt><font>http://devstack.org/</font></tt></a><tt><font>
) on <br><div class="im">
> an Ubuntu VM. You wind up with a system where you've got a basic <br>
> running OpenStack so you can try things out with the command-line
<br>
> utilities, and also do development because it checks out all the <br>
> repos. I learned a lot, and it's how I still do development.<br>
</div></font></tt>
<br><tt><font>What sort(s) of testing do you do in that environment,
and how?</font></tt></blockquote><div><br>Just running devstack exercises quite a bit of code, because it's setting up
 users, project, and loading images. Now you've got a system that's set up so you can add
 your own images and boot them using regular OpenStack commands, and you can use the command-line utilities or REST API to exercise your changes. The command-line utilities and REST API are documented. There are 
some things that you aren't going to be able to do with devstack because
 it's a single node, but that hasn't affected my development.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font>  Does your code editing interfere with the running DevStack?</font></tt></blockquote>
<div><br></div><div>Code editing doesn't interfere with a running DevStack. After you make a change you can find the process's screen in devstack's and restart it to pick up your changes. For example if you made a change that affects nova-api, you can restart the process in the n-api screen.<br>
<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font>
 Can you run the unit tests without interference from/to the running
DevStack?</font></tt></blockquote><div><br></div><div>Running unit tests doesn't interfere with DevStack. The unit tests run in their own processes and also run in a virtual environment.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<tt><font>  How do you do bigger tests?</font></tt></blockquote><div><br></div><div>For bigger tests I'd need a cluster which I don't have, so I don't do bigger tests.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<tt><font>  What is the process for
switching from running the merged code to running your modified code?</font></tt></blockquote><div><br></div><div>I don't know what the merged code is? I use eclipse, so I create a project for the different directories in /opt/stack so I can edit the code right there.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font>  Are
the answers documented someplace I have not found?</font></tt>
<br> 
<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><tt><font>Thanks,</font></tt>
<br><tt><font>Mike</font></tt><br></blockquote><div><br></div><div>Not that I know of... the wiki pages are editable, so you or I could update them to help out others.<br></div><div><br></div><div>- Brant<br><br></div><div>
<br></div></div></div></div>