Update

It has been quite some time that I have blogged. I am now a Fedora packager, have packaged three applications – GScribble, Artha and opendchub. All are available in the updates repository :). Apart from that I made the Mukti website (http://mkti.in). I must confess that it does not look that good because I am bad at designing.

Mukti 2010

It is that time of the year when we at NIT Durgapur celebrate our FOSS festival called Mukti. Mukti is the FOSS festival of NIT Durgapur. With the sole aim of promoting Free Software, some contest, games, workshops, talks etc are conducted during Mukti. It brings together the FOSS enthusiasts, newbies and corporates together under the same roof.

Automated testing with JUnit

I have learnt some automated testing with JUnit. Junit is a java package which lets you write test suites so that you can simply run them when you program is done. It is good for software development as you can re-run the same tests again and again, and you can save some time and even avoid human generated error as missing out a particular test that happens with me over and over as I tend to forget cases.

Learning JUnit is extremely easy if you have some Java knowledge. However I noted that the official website has very less tutorials available and you wont find much information on the internet also (please direct me if you happen to know any good tutorial).

I grabbed “Pragmatic Unit Testing” by Andrew Hunt and Davis Thomas. This book is really helpful as it starts with the basics and goes through every details of JUnit. You can find a copy of the ebook if you search a little.

Setting CLASSPATH for Java in Linux

This was really tough for me since I had never used command line for compiling java programs, I always used Netbeans for coding in Java. Recently I started learning JUnit for which I decided to use command Line.

Running topcoder applet behind proxy

Somehow the default Iced Tea Webstart throws NullPointerException which I dont know how to debug. I downloaded SUN JDK and installed on my machine, you can use your package manager also. It usually gets installed in /usr/java/jdk- and /usr/java/latest links to the latest version installed, so it is better to use the later. Then download the ContestApplet.jnlp and simply sun the following command to get it working.