Spring Testing Survival guide

If you have an application with thousand of beans, you must do unit testing but…Spring testing is boring, belive me.
A very complex Spring application usually have a lot of dependency: I had to manage over 3000 beans definitions in a production project right now.
Sometimes you want only to test a bit of it, and setting up a complete Spring Context will drive you crazy.
To avoid losing mind, my suggestion is to …cheat. Let’see how.
Continue reading “Spring Testing Survival guide”

Web Testing Tools

Testing is important.

Testing web interfaces is difficult, and often your consultant company prefer to suggest you a manual-based testing.
But is it so difficult to do automatic web testing using open source software?

Let’s give a look to two nice web testing software

Warning: this article is still in progress: it has been published for getting comments all around.

Continue reading “Web Testing Tools”

BWolf first installation

Biblio Wolf (Bwolf for firends) is a webapp app for managing a book collection. BWolf is written in python using the Django web framework, and it is born from a Customer request. BWolf is open source, and you can get a full description here including links to downloads. I will mantain a blog of all the work I will do. In the last two months I set up a Subversion Repository and played a little with Django.

 

After some testing I opted for the SQLite3 DB in this first phase. SQLite is a database featuring quite full support of SQL92. SQLite lacks of some capabilities for manipulating tables (alter table can be used only to add columns) but has transaction, and is embedded. SQLite consume very little resource.

 

Because the database is self-contained in a binary-indipendent file is quite fast to syncronize my developement environment with the test (and in the future, the production).