Software Testing Class

Software Testing Best Practices – Into The Basics Of Testing

A best practice is a way of doing things that leads to good and expected results when it is applied properly. Testing is the most important phases in the software development life cycle. It is the only way to understand if the project is on way to be successful or it is going to be a failure. Learn basic Software Testing Best Practices used in the software industry.

Different Levels of Software Testing:

The software testing can be performed at different levels. Some of the different testing levels are:

1. Unit Tests: These tests are executed by the developer to validate the functions developed by him. These sets of test cases are executed for limited set of data.

2. Integration Tests: These tests are executed by the developer who is either a part of the development team or quality team and is working closely with the development team. These tests are generally performed to test full set of features of the application. These can be white box tests.

3. System Tests: These tests are run to check the complete scenarios of the software without interfering in the underlying components. These are black box tests.

4. Acceptance Tests: These tests are performed to check the acceptance of the software according to the business needs and the users who are going to use it regularly.

Software Testing Best Practices:

Some of the testing best practices include:

Software Testing Best Practices

1. Test Case Creation: The test case creation process starts when the requirements are approved and frozen. While the coding is in process, the test case preparation is started and completed so that there is no hustle during the QA execution. When writing test cases, use test case type field to understand the type of test case. For example, negative test cases, positive test cases, regression test cases and smoke test cases.

2. Prepare regression test cases list: Whenever there comes a new build of the software, there is always a chance that the old functions of the software might me impacted. So it is always recommended to have a regression test cases list prepared so as to check the existing functionality is not hampered. Before the new release is handed over to the QA team, the QA team should update the existing test cases to ensure high quality testing. Practices to be followed during new release:

3. Smoke Testing: Smoke tests are test cases which cover the main areas of the software being tested. These are about 20 -30 test cases. These are basic test cases which should work whenever new release is prepared. The smoke test should pass in order to proceed with deep testing. So in case the smoke tests fail the QA team returns the build to the development team. Best practices for smoke testing would include:- Preparing a smoke test set and handing over this test set to the team who is merging the code

The smoke tests should be reviewed to meet the following:

4. Positive Testing and Negative Testing: Positive Testing is type of testing in which the testing is done to check the software is meeting the requirements through positive scenarios. The test cases are created based on the requirements given.

Negative Testing is performed to check the software for negative scenarios, to break the code. The tester puts error values in the application to be tested. Some of the negatives inputs include. Putting in wrong date formats, putting decimals, colons in number formats.

5. Performance Testing: Performance Test Cases are prepared to check the performance of the system. How the system responds to different type’s volume of load is check under performance testing. Performance testing is divided into 3 parts:

6. Test Case Preparation and Review: The test case should contain all the steps of execute the test. It should be easily understood by any person on test cases. Some best practices for test case creation are:

When all the test cases are completed the review meeting should be done. In review of the test cases, the tester discusses the test cases along with the requirements with the team. The test cases are check for the adequacy of the information, it should be understood by all the team members and there is no missing test case. If there is any addition or deletion of a test case it is marked for modification. Once all the test cases are reviewed the document is marked as Test Cases Reviewed.

7. User Acceptance Testing: When the application is handed over to the client, entire documentation should be made explaining the method of installation, any open defects, various roles etc.

Best Practices of Testing Methods:

Analytical Risk Based Strategies: When testing an application always

Risk based Testing comes with a lot of benefits:

The Test Objective should be clear: The test objectives of any project should be clear. The organisation should have clear goals and objectives which are metric based to have a quality testing. There are two types of test objective: Internal and External. Internal objectives support the external objectives. The external test objectives include:

If the test objectives are quite clear it is very beneficial for the organisation as:

Improvement in the test process continually: The organisation should strive for continual improvement in test process. It should set goals for improvement of external and internal test objectives. The organisation should use certain strategies to achieve the goals. Plans like Pareto analysis should be adopted. Checking of the progress towards achievement of goals should be done. The test improvement has many benefits:

Testing teams should be trained and certified: Testing is an area of specialty. The testing staff should be trained and certified. The organizations should have certification criteria to find out the minimum qualification needed for the testing positions. The testers should be ISTQB certified to raise the standard of the testing process. Certified and trained testing teams have many benefits:

Over to you:

Every organisation should evaluate the best practices of testing and analyse what practices should be followed in testing. The organisation should set long term goals and make a long term plan. Then follow the long term plan to achieve its goals.

Exit mobile version