Sunday, January 3, 2010

VBExpress to MonoDevelop

A little look at using Ubuntu for rewriting the QTP Framework into VB.Net.

Launching the project in MonoDevelop spat out a bunch of errors. Figured that this was a simple fix as Google let me know that there was an NUnit add-in for MonoDevelop. Not quite that simple as the versions for the referenced libraries were different. Being a quick look, the resolution to this was to downgrade the version to that offered by the Ubuntu installer. This sorted a few of the errors.

The next bunch all related to a single class file. This file was a barely updated version of the VBScript original. Since nothing was really modified in this file, it was simply trashed.

Added the strict option to the code validation which resulted in a few shouts about missing parameter types. Actual fixes done on the code for these.

Then a run of the unit tests. Quite nice to have the results dished up in the IDE but apparently there is a possible way to get the results in the Express version which I'll try when back in the Window world.

As far as experimentation goes, the only prime issues are those that relate to the direct referencing of the C: drive within the unit test for the file library.  Removing this, should make it possible to remove the platform dependency for completing the development.

No comments: