Monday, January 25, 2010

Getting started with Fitnesse and Acceptance Testing

We will soon get started with Acceptance testing using Fitnesse. The getting started guide at http://schuchert.wikispaces.com/FitNesse.Tutorials.0 is a good point to start. We will eventually learn more as we go.

Wednesday, January 20, 2010

Generating JavaDoc Using Eclipse

Its possible to generate Javadoc from your source code comments. You can simply select Project > Generate Javadoc to generate the HTML documentation for your project. Once executed, this will put the html documentation under a directory called doc inside your project root folder.
The sun java link has a detailed document on various types of tokens for specifying different kinds of elements in the document.

RSS Readers

Its a good idea to use an RSS reader. It eases your daily learning by getting the feeds from your favorite sites right into your computer. My favorite RSS reader is NewsGator. However, if you don't want to install this software you can simply use google reader from your gmail account.
Here is a youtube embed that explains how to use the RSS readers.

Practice project JUnit tests

Please download the following project. Unzip and open in your Eclipse workspace. We will try some JUnit test codes on this sample project.
https://docs.google.com/leaf?id=0B6pf6btYtM3INjI1YzdkOTYtZTU4Yy00OTY3LTk2ZGEtYzc5NDNiZjExMDFl&hl=en

Tuesday, January 19, 2010

Packaging your project's code

In any software project, its common to package the whole source code into meaningful groups. This helps the teams to deal with concurrent development, testing and separating the concerns. Here is a possible package diagram that you may follow in your projects. However, this is not an absolute requirement, its rather a suggestion. You can either follow it or come up with your own packaging that makes sense to your application.


Monday, January 18, 2010

4 Project ideas so far

  1. Android version/client of eHome - Java/C#/Scala
  2. Course scheduling system - Java (desktop based)
  3. Astrological image processing - Java (desktop based)
  4. Hockey pool management system - Java (command based UI)
  5. FTP client
Its good that almost all the projects are in Java, that means, the teams can get benefit from talking to each other.

SVN repository, JUnit and getting started

The following presentation is taken from Theodore. He made this slide for the SENG 301 course. You can learn how to set up an SVN at the department's server and also about JUnit installation.

Tuesday, January 12, 2010

Project Ideas

  1. Toronto City Bus Schedule Lookup: Data available at this Toronto open data link.
  2. Search a Nearby Toronto Licensed Child Care Center: Data available at this Toronto open data link.
  3. Automatic Twitter Feed of Toronto City Sponsored Festivals and Events. Data available at this Toronto open data link.
  4. A google wave like real time chatting engine.

Monday, January 11, 2010

Getting Started: Install Eclipse Galileo and Subclipse 1.6

Install Eclipse
It is a prerequisite that you have Java installed on your machine.
Then, you can download the Eclipse IDE for Java Developers from the page at http://www.eclipse.org/downloads/. Once downloaded, you can simply extract the file and thats it. You can just double click on the Eclipse icon to load the Eclipse IDE for the first time.


Install SubClipse
  1. Open Eclipse
  2. Help > Install New Software
  3. Inside "Work with" field enter http://subclipse.tigris.org/update_1.6.x and wait for a while to allow retrieving the plugins list from the server.
  4. Select Subclipse and then you know usual next next :-)
  5. Once installed, it will strongly recommend (!) you to restart Eclipse. Please follow the instruction.
  6. Now you should be ready with SubClipse.


Testing Eclipse and SubClipse on Google Code
  1. Go to http://code.google.com/
  2. Sign in with your google account
  3. Click on Project Hosting under the Featured Products at the left column.
  4. Click Contribute to Open Source
  5. Click "Create Project" link and fill up the form.
  6. In the Version Control drop-down, select "Subversion'
  7. After your project is created, click on "Source" Tab. And you will see a URL of the form https://yourproject.googlecode.com/svn/trunk/ yourproject --username your_google_account and also a link to the password.
  8. Open Eclipse > File > Import > SVN > Next > Create a new url > Paste your URL (the portion as shown in blue at #7)
  9. Then specify your google user name and the generated password and continue until the wizard is over.
  10. Now make changes to your project by adding new files and saving them.
  11. To push the changes back to the Subversion Repository, Select File > Team > Commit.
Sounds a lot? Well, all these are for the first time. Once you are done with the initial setup, next time you just select File > Team > Update Head and File > Team > Commit to get the latest code and push your changes respectively.


Please comment on this post if you see any problem in following the instruction.