Sitemap
y sirisha

y sirisha

Testing

3 min readOct 22, 2022

--

What is software testing?

Verifying and validating the software against the given set of requirements. verifying means checking whether the requirements are there in the documents.

When testing will be done?

Once the code is developed and handed over to the tester.

Who does testing?

Testers or software testers or test engineers.

Why testing is required?

To check if software is stable and met all the requirements.

Where the testing is done?

Software.

Principles of software

  1. Test to find defect.
  2. Exhaustive testing.
  3. Early testing.
  4. Defect clustering.
  5. Pesticide paradox.
  6. Testing is context dependent.
  7. Absence errors fallacy.

Forms of testing

Manual and automatic testing

  1. Manual testing: Testing application against the given requirements manually.

Pro’s of manual testing:

  1. No requirement of machine.
  2. Flexible
  3. User friendly
  4. Cost efficient
  5. Technically good
  6. Easy to test small changes.
  7. Easy to get feedbacks.(Because humans are doing it).

Con’s of manual testing:

  1. Time consuming.
  2. Not efficient.
  3. Not accurate.
  4. Required skilled labor.

2. Automatic testing: Testing done by machine that is software.

Pro’s of automatic testing:

  1. More efficient.
  2. It does not consume much time.
  3. Accurate.
  4. Does not required skilled labors.

Con’s of automatic testing:

  1. Machine is required.
  2. Cost is high.
  3. Cannot get feedbacks.

Myths of manual testing:

  1. Anyone can do manual testing.
  2. Testing ensures 100% defect free product.
  3. Automated testing is more powerful than manual testing.
  4. Testing is easy.

Types of software testing

Get y sirisha’s stories in your inbox

Join Medium for free to get updates from this writer.

White box: Tester will be knowing the code but not the functionality.

Black box: Tester will be knowing the functionality but not the code.

Grey box: Tester will knowing some part of the coding and functionality.

Grey box has two types functionality and non- functionality.

Unit testing: Type of testing performed by developers to test individual units.

Integration testing: Type of testing to test integration between the different modules.

System testing: test the entire system as per requirements.

Performance testing: Testing performed to test response time, stability and stress.

Load testing: Testing the application under the load to determine the threshold point where the system response time deviates or fails the normal behavior.

Stress testing: Testing the system with abnormal situations.

Compatibility testing: Testing the behavior of an application on different hardware/operating system/software.

Scalability testing: Test for flexibility of an application to scale up in proportion to the increasing demand of the user work load.

Stability testing: Type of non functionality testing performed to measure quality and efficiency of a software application.

There are many more types of testing.

STLC-Software testing lifecycle

  1. Requirement analysis — provide to tester
  2. Test planning
  3. Test design.

a) Test case

b) Each requirement is having 2 test cases.

c) Test case is ready — It will be reviewed by senior tester.

4. Environmental setup

5. Test execution.

6. Test closure.

Testing methodologies: It is an approach in what way we can test an application.

  1. Waterfall - It works good for small projects. In this methodology we cannot go back to previous step.
  2. Spiral model - First one waterfall process it will complete and again it will continue the same.
  3. Verification & Validation - Each and every stage will be tested. Requirements checking in documents and coding goes in a parallel way time will not be wasted.
  4. Agile model- It is a iterative and incremental model. we can go on adding requirements at any time. Team communication will be good.

Defect lifecycle

Raise a defect manually — New

Assigning the defect to the developers — abc

if valid=developers will fix

else reject

once fixed assign back to tester

if it is working close the bug

else

reopen the back and assign back to developers.

--

--