Search

Aparna Chaudhary Blog

My Blog about Java, and Open Source

Month

October 2008

Independent Developer Workstation

In one of my projects I did some work on process improvements. The main target was to set up independent developer workstation. We stubbed out all the interfaces. Earlier we tried to share a development database in a group of 4-5 developers. But believe me, I’ve seen developers throwing coffee cups when someone touches their data. Imagine you spending couple of precious hours out of your day on analysing the data and then getting it in right state to run your test cases and the moment before you hit “Run”, someone drops in and mess up all your data. How insane!!

Well the answer is simple, give me my own database and save yourself from the typical excuses. I evaluated couple of open source databases like MySQL, Postgres, EnterpriseDB and finally settled on OracleXE. Well we use Oracle in production and hence its easy to setup development environment with OracleXE with almost no extra tweaks in the scripts. I used DBUnit for testing database modules. It works quite well, but I think my strategy to setup test data was not optimum. It takes bit longer to run the tests now. I used Dumbster as a fake SMTP server and XStream for creating enriched objects for my tests.

Also one useful tool I would like to share here is DBMonster. It really helped me for generating mass random test data. Now I don’t have to request the DBA’ to give me test data. Well its not that simple also, as you need to understand the states of the dataset to create the seed xml files. But I think its still better than having human dependencies.

Happy Development :-) !!

Goodbye Blogger

I was really upset with the intermittent 500 Internal Server Error on Blogger. So finally decided to move to WordPress. I liked the nice flexible themes offered by wordpress. Shaping up my blog in here!!!

CITCON Europe 2008

I’m just back from the CITCON (Day-I), the Continuous Integration and Testing Conference, hosted by Jeffrey Fredrick and Paul Julius.

Earlier I thought its a conference about CI and Testing. Couple of speakers would come and present their thoughts on these topics. But today when I went there for registration, I realized its different. Its not a fixed agenda conference; but an Open Space conference. The idea of Open Space is that the attendees would present or/and demand topics of their interest. These topics on sticky notes are published on the white board. Attendees would then come and vote the topics they wanna attend. Voting works in very simple manner…just come over and make a small mark on the sticky. The organizers would come next day…check the votes and would then decide the whole agenda for the day. Ah!! Sounds really exciting and gives you a feeling of ownership for the conference.

I voted for 3 topics:
1. Managing test data while doing CI
2. Overview of CI
3. Java – Code Quality

I missed putting my vote for TW’ Cruise. But I’m pretty sure this topic would be there on agenda.

Let’s see what’ there on plate for me for tomorrow.

More to come!!

Create a free website or blog at WordPress.com.

Up ↑