Thursday, October 23, 2008

Static Code Analysis

Static code analysis is a way to find the errors in the code without executing the code. Static code analysis has lot of advantages over the normal testing.

1. No need to wait for full software or code to start the testing.
2. No need to write any script/steps for testing

Apart from that you can easily verify different versions code for the errors. Some of the errors it can find,

1. Infinite loops
2. Null pointers

Open source tools such as Findbugs are doing a good job in this area. Will discuss about them later.


Tuesday, October 21, 2008

Linux in Windows

Wine is popular with computer geeks too. I am talking about the Windows Emulator in Linux. Check about the more here. Is there any tool that can do this in reverse? i.e, Linux Emulator for Windows.

Yes, that is Cygwin.

What is Cygwin,

Cygwin is a Linux-like environment for Windows. It consists of two parts:

A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality.
A collection of tools which provide Linux look and feel.

The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE.

Note that the official support for Windows 95, Windows 98, and Windows Me will be discontinued with the next major version (1.7.0) of Cygwin.

What it won't do

Cygwin is not a way to run native linux apps on Windows. You have to rebuild your application from source if you want it to run on Windows.

Cygwin is not a way to magically make native Windows apps aware of UNIX ® functionality, like signals, ptys, etc. Again, you need to build your apps from source if you want to take advantage of Cygwin functionality.

About that in Wikipedia

It's installation is easy and occupies about 3-4 GB of space in the harddrive. Once installed, run the cygwin.bat from the installed folder to get the Linux in Windows.


raja's shared items

There was an error in this gadget

My "Testing" Bundle