titbits from the world less travelled

Archive for March, 2009

QA stuff

1. What is the most important impact QA can have on a product development process?
The most important impact QA can have on a product development process is the increase in the quality of the products.

2. Name 3 things in a development process that effect quality, and briefly describe each.
Requirement Specification – Without proper requirements, there would constant changes and this would effect ultimately the quality of the product.
Design – Even though we have exact requirements, we need to design in such a way it encompasses simplicity, scalability and reliability among other factors.
Domain knowledge – This is necessary since it wouldnt be wise for a software engineer with no knowledge of hospitals to code a critical emergency software product.

3. What kind of metrics would you use to describe the results of a simple load test?
CPU Utilization, Speed, Stability, Accuracy, Latency

4. How do you determine when you have done enough testing?
Depends but mostly when negative and positive testing give out the correct results as expected.

posted by admin in Uncategorized and have No Comments

How to install YUM on fedora 9 and solve installation problems

Use wget tool to download YUM package:

1) wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz

2) use tar command to extract to a directory named yum

3)tar -xvzf yum-2.0.7.tar.gz

4)cd yum-2.0.7

5) ./configure

6) make

7) make install

you are done installing. Sometimes you might get the following errors on fedora 10:
1) make not found.

for this instal: yum install make

2) msgmerge not found.

for this install: yum install gettext

now the above solves your problem. Happy installing.


posted by admin in linux and have No Comments

Error: WINDOWINFO not found while compiling visual studio 2008

Incase you get a similar type of error when trying to compile visual studio 2008,

goto microsoft.com and download Microsoft platform SDK for windows 2003 SP1.
the link is:
http://www.microsoft.com/downloads/details.aspx?familyid=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
Warning: do not download the file through the download button on the page. Scroll down and you will find some files for download with similar filename like PSDK-x86.exe and so on. Download this files. These are the right ones for you.
then go to your project, click on Tools -> Options ->
Projects and Solutions -> VC++ directories Add your microsoft platform SDK directory to the include and Lib options.
your done and ready to go.
posted by admin in windows and have No Comments

How to unit test a windows service

I was writing some unit test using CppUnit for some methods. I needed to test some methods which was written in windows to manipulate windows services.

Below is basically a rough idea on how to do this:

One such example is a method which tests the windows service state. Let us call this method
TestServiceState():
The best way to test such a method would be to take a windows service present in all XP computers. I took a method called MSISErver. This basically is called a windows installer service.
Now you can make use of MSDN libraries to open a service manager.
Handle schSCManager;
schSCManager = OpenSCManager(
NULL,
NULL,
SC_MANAGER_ALL_ACCESS);
now with the help of this handle you can open a service, but not start a service with the keyword
SERVICE_ALL_ACCESS and open service method.
Next you can query the service: with QueryServiceStatusEX and then find out the status of your service. You can incorporate this into your Unit tests with the idea above.
posted by admin in windows and have No Comments