- 1 What is a Software?
- 2 What is Software Testing?
- 3 Software Testing Techniques
- 4 Software Testing Methods
- 5 Software Testing Methods
- 5.1 1 Unit Testing
- 5.2 2 Integration Testing
- 5.3 3 System Testing
- 5.4 4 Acceptance Testing
- 5.5 1 Smoke Testing (a.k.a. build verification testing)
- 5.6 2 Performance Testing
- 5.7 3 Compliance Testing
- 5.8 4 Functional Testing
- 5.9 5 Usability Testing
- 5.10 6 Regression Testing
- 5.11 7 Security Testing
- 5.12 1 Ad-hoc Testing (a.k.a. Random testing)
- 5.13 2 Agile Testing
- 5.14 3 Black Box Testing (a.k.a. Behavioral testing)
- 5.15 4 White Box Testing (a.k.a. Blass Box testing, Clear Box testing, Open Box testing)
- 5.16 5 Gray Box Testing
What is a Software?
Software can be defined as a series of programs and instructions for a computer system to carry out a specific task or tasks.
What is Software Testing?
Software Testing is a process used to measure the quality of a product or software. This process is used to check whether the actual results meet the expected results and the particular software is bug-free.
Software Testing Techniques
Software Testing Techniques can, therefore, be defined as the different ways and methods of testing these programs and instructions to ensure that they are functioning well and carries out the specific tasks that they were designed to. These techniques are as varied as there are software applications and as there are tasks to be carried out. They can be classified or categorized in a number of ways. However, for the purpose of this article, we shall be looking at Software Test Levels, Software Testing Types and Software Testing Methods – these all are techniques for testing software.
Under each of the areas listed, we shall be looking at the following:
Software Testing Methods
Software Testing Methods
Gray box testing
Ad hoc testing
White box Testing
Black box testing
These following tests are carried out at different stages during the development of software.
1 Unit Testing
Software applications comprises of various blocks of code (modules, routines, procedures, functions, calls, etc.) each referred to as a unit. Each of these units carries out a unique and specific function or task. Unit testing is the testing of each of the units independently to ensure that it carries out its intended task or function.
For example: A mobile phone has a number of system and user apps (such as phone dial, file manager, messages, camera, backup and restore, contacts, downloads, storage manager, facelock, fingerprint, etc. Each of these is a unit and can be tested on its own independent of each other.
2 Integration Testing
In our mobile phone example above, the camera app integrates with the storage manager. This is because when the camera is used (in taking a picture or recording a video), the output must be stored on a storage media (be it internal or external memory). Integration testing ensures that this occurs – that is, for example, the camera unit integrates successfully with storage manager. This should not be confused with system testing or functional testing (both discussed below).
3 System Testing
A system is a combination of various units integrated together to carry out a function or task. System testing ensures that all the units are fully integrated and functioning as one, meeting the design requirements. Once a phone is fully complete, it is tested as a whole to see how well it functions as a phone with its individual components.
4 Acceptance Testing
At this level of software development, it is tested for acceptance both in-house (by persons not directly involved with its design and development (Alpha testing) and also externally by a selected group of end-users (Beta testing).
]These are many ways the various forms of tests that can be carried out on software. There are literally hundreds of ways of testing software. However, we will limit ourselves to these prominent ones for this blog.
1 Smoke Testing (a.k.a. build verification testing)
This manner of testing got its name from switching on a newly designed electrical equipment in the design factory for the first time and hoping it does not blow up in smoke. Smoke testing lightly inspects most of the major components paying particular attention to proper integration. If this test is passed, the product proceeds to further testing.
2 Performance Testing
This examines the software’s performance, responsiveness and stability when under a certain load. Areas tested in this regard includes spike testing (i.e. load is spiked up or significantly increased), stress testing (i.e. how it behaves at work levels beyond what is expected), endurance testing (i.e. how well and how long the software can support and sustain excessive loads), and load testing (i.e. how the software responds as its workload increases).
3 Compliance Testing
This is to ensure that the software meets with internal and external standards, policies and regulations. Internal compliance testing is carried out by selected persons or a department in the developing company while external compliance testing is carried out by external bodies or regulatory authorities. For example, the FCC will test mobiles phones for acceptable interference and radiation levels.
4 Functional Testing
Functional Software Testing Services is a test to ascertain if the software works according to its design specifications and requirements. Unlike System Testing that checks everything, this testing is normally concerned with the output of the system, not minding the inputs and processes carried out.
5 Usability Testing
The user is the most important element in the development of any software. This test examines how human factors and the user interface agrees with end-users. It looks are the processes and steps required to carry out tasks and analyzes how effective, intuitive and easy those steps are. For example, suppose a user uses the camera phone and each time the system asks where to save the file (internal or external memory). This could be looked at as inefficient. Instead, the user could set the default storage location and not have to indicate such each time the camera is used.
6 Regression Testing
Changes and upgrades are made to software continually. Regression testing ensures that new versions or upgrades have not created problems for other areas previously working okay. The test is carried out using previous test cases and the new results compared to previous results.
7 Security Testing
Methods are the ways by which the tests are actually carried out.
1 Ad-hoc Testing (a.k.a. Random testing)
A test carried out with no documentation or planning given. It is usually carried out randomly without any pre-defined process or intention.
2 Agile Testing
A testing that ensures that the ideals of agile software development are adhered to according to their Manifesto.
3 Black Box Testing (a.k.a. Behavioral testing)
This is testing of the entire system by persons who have no idea about the design, structure and implementation of the software. It is tested for errors in interface, performance, behavior, data structures, functions, etc.
4 White Box Testing (a.k.a. Blass Box testing, Clear Box testing, Open Box testing)
This is similar to Black Box testing except that the design, structure and implementation of the software are known to the tester.
5 Gray Box Testing
A testing comprising of the two ideals of the black box and white box testing. Some parts of the design, structure and implementation of the item are known to the tester and some are not.
As said earlier, there are different techniques of testing a software-defined on your perspective. To explain the difference between levels, methods and types, a Performance Test (a Type) can be carried out during System Testing (a Level) using White Box Testing (a Method).
Pradeep is a Content Writer and Digital Marketing Specialist at Indium Software with a demonstrated history of working in the information technology and services industry.