Do We Really Write Test Cases For All Testing Types (2024)

Do We Really Write Test Cases For All Testing Types? Writing this post to clear the uncertainty surrounding the fresher groups of Software Testers. Most of the novice testers get this question in mind when they start learning Writing Test Cases.

  • What is a test case and how to write test cases
  • 100+ Software Testing Types

Do We Really Write Test Cases For All Testing Types (1)

As per ISTQB, There are four Software Test Types namely

  1. Functional
  2. Nonfunctional
  3. Structural
  4. Change related

Functional Testing Type: Smoke testing, Sanity testing are some of the testing types come under functional testing.

Non-functional Testing Type: Testing types come under Non-functional Testing Type are Performance testing, Load testing, Reliability testing, Stress testing, Usability testing, Localization testing, Globalization testing.

Structural Testing Type: Structural Testing is also known as White Box Testing

Change Related Testing Type: Regression and retesting testing types come under change related testing type.

Let’s see Do the testers really right test cases for all the types of testing.Here, I give ashort note on some of the testing types and I also specify whether we write test cases or not. I will confine myself to the widely used testing types in this post.

  • Test Scenarios of a Registration Page
  • Test Scenarios of a Login Page

What is the Criteria to choose writing test cases?

  1. Tests we need to run on every build release of the application
  2. Tests we run using multiple data values
  3. Tests that consume lot of time
  4. Tests that involves in repetitive steps
  5. Tests that involves in cross platform or cross browser testing

Check below video to see “Do We Really Write Test Cases For All Testing Types”

Do We Really Write Test Cases For All Testing Types (2)

Smoke Testing:Smoke testing is a type of testing which will be done to verify whether the released build is testable or not.
This is just to test whether the build which was released by dev team is testable. So we just test the basic features like login. To do smoke testing, we pick up the test cases which we have already written. We don’t write test cases particularly to do smoke testing.

Sanity Testing:Sanitytesting is a type of testing which will be doneduring the release phase to verify the main functionalities of the application without going deeper. to do this wepick up the test cases which we have already written. same as smoke testing, we don’t write test casesparticularlyto do sanity testing.

Smoke Testing Vs Sanity Testing

Functional Testing: We do test each and every feature of the software application to make sure whether eachfeatureis behaving as specified in the requirement document. To do functional testing, we do write test cases.

Integration Testing:Integration Testing is the process of testing the interface between two software units.To do Integration testing, we do write test cases.

System Testing: Testing the fully integrated application toensure that the application works as intended or not. To do System testing, we do write test cases.

Acceptance Testing:This is done by the end users along with the testers to validate the functionality of the application. Most probably,Acceptance testing will be done by customers, so they may write test cases to do acceptance testing.

Compatibility Testing: It is to deploy and check whether the application is working as expected in a different combination of environmental components.Test cases which were already written will be used to do compatibility testing.

Adhoc Testing:Ad-hoc testing is quite opposite to the formal testing. It is an informal testing type. In Adhoc testing, testers randomly test the application without following any documents and test design techniques. So, we don’t write any test cases.

Performance Testing: Performance is concerned with achieving response times, throughput, and resource-utilization levels that meet the performance objectives of the product.Even though we use tools like LoadRunner, we pickup some scenarios and write test cases to do performance testing.Performance testing test cases are not similar to functional testing test cases.

Usability Testing:To verify whether an application is user-friendly or not. Main focus will be on look and feel of the application.We follow achecklistto test the look and feel of the application. So, wedon’twrite specific test cases to do usability testing.

Accessibility Testing: To verify whether a user is able to use it comfortably or not.We follow a checklistto test the look and feel of the application same like usability testing. So, wedon’twrite specific test cases to do usability testing.

Reliability Testing:In terms of reliability testing, we do Perform testing on the application continuously for long period of time in order to verify the stability of the application. We don’t write manual test cases to do reliability testing. We use automation tools to do this by picking up some scenarios.

Regression Testing: Repeated testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or unrelated software components.
We use already written test cases to do regression testing.So, wedon’twrite specific test cases to doregression testing.

What is Regression Testing and how do we do regression testing

Retesting: We do retesting to ensure that the defects which were found and posted in the earlier build were fixed or not in the current build.We don’t write test cases to do retesting. We use bug report to do retesting.

What is Retesting and when do we do retesting

Recovery Testing: We do recovery testing to determine how quickly the system could recover from crashes. To do recovery testing, we write test cases.

Globalization Testing: Globalization is a process of designing a software application so that it can be adapted to various languages and regions without any changes. TO do globalization testing, we write test cases.

Localization Testing: Localization is a process of adapting globalization software for a specific region or language by adding local specific components. Yes, we write test cases to do localization testing.

What do you think about this post? If you like it, don’t forgot to share with your friends.

Here I have hand picked few tutorials for you to learn.

  • Manual Testing Tutorial
  • Agile Testing Tutorial
  • SQL Tutorial
  • Selenium Tutorial
  • API Testing Tutorial
  • Java Tutorial
  • VBScript Tutorial

As an expert in software testing, I've been actively involved in the field for several years, having worked on diverse projects encompassing various testing types and methodologies. My experience includes both manual and automated testing across different domains, and I've contributed to the testing processes at different stages of the software development life cycle.

Now, let's delve into the concepts discussed in the provided article, "Do We Really Write Test Cases For All Testing Types?"

  1. Test Case and Writing Test Cases:

    • A test case is a set of conditions or variables under which a tester will determine whether an application or system is working correctly. It serves as a detailed specification of a particular functionality to be tested.
    • The article emphasizes that for certain testing types, like smoke testing and sanity testing, testers typically use existing test cases rather than writing new ones specifically for these phases.
  2. Software Testing Types:

    • The article outlines four main software test types according to ISTQB: Functional, Nonfunctional, Structural, and Change-related.
    • Functional Testing:
      • Involves testing each feature of the software application to ensure it behaves as specified in the requirement document.
      • Test cases are written for functional testing.
    • Non-functional Testing:
      • Includes various testing types such as Performance testing, Load testing, Usability testing, etc.
      • Some non-functional testing types use previously written test cases, like in the case of compatibility testing.
    • Structural Testing:
      • Also known as White Box Testing.
    • Change-related Testing:
      • Includes Regression and Retesting testing types.
  3. Specific Testing Types:

    • Smoke Testing:
      • Verifies whether the released build is testable.
      • Uses existing test cases; no separate test cases are written.
    • Sanity Testing:
      • Verifies main functionalities during the release phase without going deeper.
      • Uses existing test cases; no specific test cases are written.
    • Integration Testing:
      • Involves testing the interface between two software units.
      • Requires writing test cases.
    • System Testing:
      • Ensures the fully integrated application works as intended.
      • Requires writing test cases.
    • Acceptance Testing:
      • Validated by end users to ensure application functionality.
      • End users, who may write test cases, are involved in acceptance testing.
    • Compatibility Testing:
      • Checks application functionality in different environments.
      • Uses existing test cases.
    • Adhoc Testing:
      • Informal testing without following specific documents.
      • No test cases are written for ad-hoc testing.
    • Performance Testing:
      • Focuses on response times, throughput, and resource utilization.
      • Involves writing specific test cases distinct from functional testing.
    • Usability and Accessibility Testing:
      • Checklists are used for testing; specific test cases are not written.
    • Reliability Testing:
      • Continuous testing for long periods to verify stability.
      • Uses automation tools with specific scenarios; no manual test cases are written.
    • Regression Testing:
      • Involves repeated testing of a program after modification.
      • Uses existing test cases; no specific test cases are written for regression testing.
    • Retesting:
      • Ensures defects found in earlier builds are fixed.
      • No separate test cases are written for retesting; bug reports are used.
    • Recovery Testing, Globalization, and Localization Testing:
      • Involves writing specific test cases for these types of testing.

In summary, the article provides insights into whether test cases are written for various testing types, shedding light on the practices followed in the industry. The information aligns with industry standards and best practices, offering valuable guidance to both novice and experienced software testers.

Do We Really Write Test Cases For All Testing Types (2024)

FAQs

Do we really write test cases for all testing types? ›

To do System testing, we do write test cases. Acceptance Testing: This is done by the end users along with the testers to validate the functionality of the application. Most probably, Acceptance testing will be done by customers, so they may write test cases to do acceptance testing.

Is it necessary to write test cases? ›

Writing test cases allows you think through every aspect of your software and makes it easier to identify any software gaps as it develops. Several of benefits emerge when you write formal test cases. Documentation means you can guarantee the coverage of your tests.

Can we do testing without test cases? ›

The short answer is yes, testers need test cases. But the test cases they need might not be what you're thinking of. From time to time, I encounter the seemingly implausible argument that testers don't need test cases.

How will you decide if you have enough test cases? ›

This can be determined by 1) Risk Analysis of the present system 2) Test Metrics of the previous similar project. If the previous similar project had 100 test cases, which could adequately test the system, and if your present system is 20% enhanced, 130-140 test cases may now do the job.

Do we write test cases for smoke testing? ›

To test a product, the tester has to write and update the test cases. They can either write test scripts for existing features or new features. The manual method is the most commonly used smoke-testing method under which the smoke test cases are tested manually for the fresh build and the newly added features.

What happens if we don't write test cases? ›

Despite the fact that test cases are a crucial step of the software development lifecycle, most developers are naturally inclined to bypass this process since it reduces overall shipment time. However, the fewer tests we write, the less stable our code becomes.

Do we need to write test cases in Agile? ›

Collaborate with the Development Team

In Agile development, getting together with the development team is essential. Writing test cases in conjunction with the development team is necessary to guarantee that they comprehend the requirements and can execute the required modifications.

Why we don't write test cases for sanity testing? ›

Sanity testing does not thoroughly test the software functionality; because of this, minor issues cannot be found in sanity testing. This testing only evaluates whether further testing can be performed or not.

How many test cases can be written in a day? ›

Ans) Around 35 – 60 test cases you can execute per day.

What is testing without test cases called? ›

Ad hoc Testing does not follow any structured way of testing and it is randomly done on any part of application. Main aim of this testing is to find defects by random checking.

Who should write test cases? ›

Test cases are typically written by members of the quality assurance (QA) team or the testing team and can be used as step-by-step instructions for each system test. Testing begins once the development team has finished a system feature or set of features. A sequence or collection of test cases is called a test suite.

Have you ever written test cases without documents? ›

If there are no SRS documents available to write test cases you start interviewing stakeholders, developers, manager, product owners to understand the functionality of the website. Ask the stakeholders what is the most important function in this project and start writing your test cases from there.

How many test cases are needed for 100% coverage? ›

So, 2 test cases are needed to execute every line of code. And 2 test cases to execute the True and False conditions. So 2 test cases are needed for 100% Statement and Decision coverage.

How many test cases per requirement? ›

Formal test cases

In order to fully test that all the requirements of an application are met, there must be at least two test cases for each requirement: one positive test and one negative test. If a requirement has sub-requirements, each sub-requirement must have at least two test cases.

What does a good test case look like? ›

Best Practices for Writing Test Cases

Prioritize clarity and transparency. Be clear, concise, and assertive in describing what the tester needs to do and what results they should ideally get. Focus on End-User requirements when writing sample test cases. Map test cases to reflect every aspect of the user journey.

How many test cases are written? ›

In order to fully test that all the requirements of an application are met, there must be at least two test cases for each requirement: one positive test and one negative test. If a requirement has sub-requirements, each sub-requirement must have at least two test cases.

Is it possible to test everything in software testing? ›

Of course, not everything can be tested at the same time. There can be only one “top priority” item. Left to their own devices, most test organizations will make a reasonable, reasoned effort to figure out what is most important and what needs to be done to test those things.

Top Articles
Cryptography and its Types - GeeksforGeeks
Rs 10,000 monthly SIP in this smallcap mutual fund turned into Rs 19 lakh in 5 years
St Thomas Usvi Craigslist
Netronline Taxes
Xrarse
Lost Pizza Nutrition
Gt Transfer Equivalency
Weekly Math Review Q4 3
Craigslist Dog Kennels For Sale
Brutál jó vegán torta! – Kókusz-málna-csoki trió
อพาร์ทเมนต์ 2 ห้องนอนในเกาะโคเปนเฮเกน
Walthampatch
2021 Lexus IS for sale - Richardson, TX - craigslist
How to find cash from balance sheet?
No Hard Feelings Showtimes Near Cinemark At Harlingen
Operation Cleanup Schedule Fresno Ca
Truth Of God Schedule 2023
Csi Tv Series Wiki
Missouri Highway Patrol Crash
Craigslist West Valley
No Hard Feelings - Stream: Jetzt Film online anschauen
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Hannaford Weekly Flyer Manchester Nh
Tire Plus Hunters Creek
Gen 50 Kjv
Ascensionpress Com Login
10-Day Weather Forecast for Santa Cruz, CA - The Weather Channel | weather.com
Skepticalpickle Leak
Guinness World Record For Longest Imessage
Google Flights To Orlando
Grandstand 13 Fenway
Southern Democrat vs. MAGA Republican: Why NC governor race is a defining contest for 2024
Bratislava | Location, Map, History, Culture, & Facts
Consume Oakbrook Terrace Menu
Edict Of Force Poe
Ishow Speed Dick Leak
Troy Gamefarm Prices
Wisconsin Women's Volleyball Team Leaked Pictures
888-333-4026
10 Rarest and Most Valuable Milk Glass Pieces: Value Guide
Walmart Car Service Near Me
Frequently Asked Questions
Sinai Sdn 2023
Accident On 40 East Today
Congruent Triangles Coloring Activity Dinosaur Answer Key
UNC Charlotte Admission Requirements
Identogo Manahawkin
German American Bank Owenton Ky
What Does the Death Card Mean in Tarot?
7 National Titles Forum
Texas 4A Baseball
Latest Posts
Article information

Author: Madonna Wisozk

Last Updated:

Views: 5668

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Madonna Wisozk

Birthday: 2001-02-23

Address: 656 Gerhold Summit, Sidneyberg, FL 78179-2512

Phone: +6742282696652

Job: Customer Banking Liaison

Hobby: Flower arranging, Yo-yoing, Tai chi, Rowing, Macrame, Urban exploration, Knife making

Introduction: My name is Madonna Wisozk, I am a attractive, healthy, thoughtful, faithful, open, vivacious, zany person who loves writing and wants to share my knowledge and understanding with you.