Testing Django web app with Hudson and Selenium

Posted by ycseattle on Stack Overflow See other posts from Stack Overflow or by ycseattle
Published on 2010-05-12T05:49:49Z Indexed on 2010/05/12 5:54 UTC
Read the original article Hit count: 366

Filed under:
|

This might be a newbie question for Hudson. I am trying to setup Selenium testing for my Django website in my Hudson CI server. The question is, the Hudson will use subversion to checkout my Django code into its own path, how do I "deploy" the code into the same server for testing? This is not a question about deploying django, but instead how to access the source file in hudson workspace. Most tutorials/blogs is about building and running tests, but I couldn't find useful information about how to setup the web application on the server to run the test against.

1) Should I write some shell script to copy the source files from the hudson workspace? Is there an environment variable to use to access the workspace? 2) Is there a tutorial on how to grab web app files in hudson workspace and deploy them? I am sure this apply for other technologies like PHP as well.

Thanks!

© Stack Overflow or respective owner

Related posts about hudson

Related posts about django