Archives February 2012

Database testing with ShiningPanda (1/2)

With ShiningPanda it has never been so easy to run tests against databases. Starting a database server on the fly is literally one click away from your job configuration!

Let’s see how with this tutorial in two parts that describes how to test your existing projects on multiple databases:

  • The first part deals with writing and running tests against databases,
  • The second part deals with integration with Jenkins.

Sample project

This tutorial is based on the poll application from the Django tutorial.

It describes all the required steps to run your Django tests on multiple databases.

The source code ...

Continue reading

ShiningPanda plugin 0.10 for Jenkins is out!

We released today a new version of the ShiningPanda plugin for Jenkins. For those who don't know this plugin yet, it is probably the easiest way to setup your Python projects with Jenkins. But let's have a look at the new features:

Buildout Builder

/media/blog/27/buildout_builder.png

This new builder allows you to build your projects with Buildout, a Python-based build system for creating, assembling and deploying applications from multiple parts.

Not being intensive users of Buildout, feedback from experienced users is welcomed to improve the experience. Contact us here!

Virtualenv

The plugin now bundles the lastest version (1.7.1 ...

Continue reading

Selenium, Python and Jenkins on Debian - 3/3

In our first post on Selenium in Python, we saw how to prepare your continuous integration environment on Debian. In the second one, we saw how to enable Selenium tests in your existing web project. Now it's time to see how to integrate all this within Jenkins!

Global Configuration

First ensure that the latest version of the ShiningPanda Plugin and Xvnc Plugin are installed (check on Manage Jenkins > Manage Plugins > Installed page). If not, look for them in the Available tab and perform the installation (don't forget to restart Jenkins).

/media/blog/26/plugin_manager.png

Then declare all the Python installations you want ...

Continue reading

Selenium, Python and Jenkins on Debian - 2/3

In our first post on Selenium in Python, we saw how to prepare your continuous integration environment on Debian. Now it's time to have a look on how to add Selenium tests in your existing web project.

Sample project

This tutorial is based on the poll application from the Django tutorial. It describes all the required steps to run Selenium tests on a Django project. The source code can be found here.

This sample project is organized as follow:

/media/blog/25/project.png

The following features are implemented:

  • Poll management via the Django admin site,
  • Vote submission.
/media/blog/25/features.png

Don't forget to install Django ...

Continue reading

Daily archives

Previous month

January 2012

Next month

March 2012

Archives