Wednesday, October 20, 2010

Types of Software Testing

Software Testing:

Software testing is an investigation conducted to provide stakeholders with information about the quality of the product or service under test. Software testing also provides an objective, independent view of the software to allow the business to appreciate and understand the risks at implementation of the software. Test techniques include, but are not limited to, the process of executing a program or application with the intent of finding software bugs.

Software testing can also be stated as the process of validating and verifying that a software program/application/product:

  1. meets the business and technical requirements that guided its design and development;
  2. works as expected; and
  3. can be implemented with the same characteristics.


Types:

Black box testing – Internal system design is not considered in this type of testing. Tests are based on requirements and functionality.

White box testing – This testing is based on knowledge of the internal logic of an application’s code. Also known as Glass box Testing. Internal software and code working should be known for this type of testing. Tests are based on coverage of code statements, branches, paths, conditions.

Unit testing – Testing of individual software components or modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. may require developing test driver modules or test harnesses.

Incremental integration testing – Bottom up approach for testing i.e continuous testing of an application as new functionality is added; Application functionality and modules should be independent enough to test separately. done by programmers or by testers.

Integration testing – Testing of integrated modules to verify combined functionality after integration. Modules are typically code modules, individual applications, client and server applications on a network, etc. This type of testing is especially relevant to client/server and distributed systems.

Functional testing – This type of testing ignores the internal parts and focus on the output is as per requirement or not. Black-box type testing geared to functional requirements of an application.

System testing – Entire system is tested as per the requirements. Black-box type testing that is based on overall requirements specifications, covers all combined parts of a system.

End-to-end testing – Similar to system testing, involves testing of a complete application environment in a situation that mimics real-world use, such as interacting with a database, using network communications, or interacting with other hardware, applications, or systems if appropriate.

Sanity testing - Testing to determine if a new software version is performing well enough to accept it for a major testing effort. If application is crashing for initial use then system is not stable enough for further testing and build or application is assigned to fix.

Regression testing – Testing the application as a whole for the modification in any module or functionality. Difficult to cover all the system in regression testing so typically automation tools are used for these testing types.

Acceptance testing -Normally this type of testing is done to verify if system meets the customer specified requirements. User or customer do this testing to determine whether to accept application.

Load testing – Its a performance testing to check system behavior under load. Testing an application under heavy loads, such as testing of a web site under a range of loads to determine at what point the system’s response time degrades or fails.

Stress testing – System is stressed beyond its specifications to check how and when it fails. Performed under heavy load like putting large number beyond storage capacity, complex database queries, continuous input to system or database load.

Performance testing – Term often used interchangeably with ’stress’ and ‘load’ testing. To check whether system meets performance requirements. Used different performance and load tools to do this.

Usability testing – User-friendliness check. Application flow is tested, Can new user understand the application easily, Proper help documented whenever user stuck at any point. Basically system navigation is checked in this testing.

Install/uninstall testing - Tested for full, partial, or upgrade install/uninstall processes on different operating systems under different hardware, software environment.

Recovery testing – Testing how well a system recovers from crashes, hardware failures, or other catastrophic problems.

Security testing – Can system be penetrated by any hacking way. Testing how well the system protects against unauthorized internal or external access. Checked if system, database is safe from external attacks.

Compatibility testing – Testing how well software performs in a particular hardware/software/operating system/network environment and different combination s of above.

Comparison testing – Comparison of product strengths and weaknesses with previous versions or other similar products.

Alpha testing – In house virtual user environment can be created for this type of testing. Testing is done at the end of development. Still minor design changes may be made as a result of such testing.

Beta testing – Testing typically done by end-users or others. Final testing before releasing application for commercial purpose.

Monday, September 20, 2010

My Clicks..



Sunset


Sunset @ Kovalam


Sunset @ Mumbai



Fireworks @ Diwali Time


Playing with Lights - 1


Playing with Light - 2


Water drops on the wall...


Waterfall @ Kodaikanal


Monkeys...


A foggy evening @ Kodaikanal


Nature


Rainbow...


A snake


Count the number of snakes...

Flowers:































TED.com - Ideas worth spreading

TED is a small nonprofit organization devoted to Ideas Worth Spreading. It started out (in 1984) as a conference bringing together people from three worlds: Technology, Entertainment, Design. Since then, its scope has become ever broader.

They make the best talks and performances from TED and partners available to the world, for free. More than 700 TEDTalks are now available, with more added each week. All of the talks are subtitled in English, and many are subtitled in various languages. These videos are released under a Creative Common License so they can be freely shared and re-posted.

TEDs mission: Spreading ideas.
They believe passionately in the power of ideas to change attitudes, lives and ultimately, the world. So they are building a clearinghouse that offers free knowledge and inspiration from the world's most inspired thinkers, and also a community of curious souls to engage with ideas and each other. TED.com, launched April 2007, is an ever-evolving work in progress, and you're an important part of it. Have an idea? The TED will want to hear from you.

Purpose of this article:
Here, I am trying to help spread TED through my blog. There are talks on technology which really motivates businessmen and software programmers to innovate and create products which people feel are impossible to do.

One such talk which I remember which was very impressive and motivated me was Pranav Mistry's "The thrilling potential of SixthSense Technology".
At TEDIndia, Pranav Mistry demos several tools that help the physical world interact with the world of data, including a deep look at his SixthSense device and a new, paradiigm-shifting paper "laptop". In his talk, Mistry says he will open-source the software behind SixthSense, to open its possibilities to all.

Here is the link to know more about the SixthSense:
SixthSenseTechnology

Anyway, do not miss to see TED.com.

The History of Software Programming

Machine Code

The first generation of codes used to program a computer, was called machine language or machine code, it is the only language a computer really understands, a sequence of 0s and 1s that the computer's controls interprets as instructions, electrically.


Assembly Language

The second generation of code was called assembly language, assembly language turns the sequences of 0s and 1s into human words like 'add'. Assembly language is always translated back into machine code by programs called assemblers.


High Level Language

The third generation of code, was called high level language or HLL, which has human sounding words and syntax (like words in a sentence). In order for the computer to understand any HLL, a compiler translates the high level language into either assembly language or machine code. All software programming languages need to be eventually translated into machine code for a computer to use the instructions they contain.

But They Make It Easy For You

As the end user you do not see the code used to create computer software programs. However, you do use the results and the end products of today's software programming are soft programs that are easy to use by the consumer.

Reverse Engineering

Reverse engineering is the process of taking a software program apart and analyzing it with the intention to construct a new program that does the same thing without actually copying anything from the original and avoiding copyright or patent infringement.