Blog
Software Testing Basics: Guide to QA Fundamentals

Rishabh Kumar
Published on

Table of contents
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Every app you use, from your banking app to the checkout on your favourite online shop, has been tested before it reached you. Or at least, it should have been. When testing is done well, you never notice it. When it isn't, you notice straight away: a payment that doesn't go through, a page that won't load, a form that loses everything you typed.
Software testing is how teams make sure that doesn't happen. And it's changing fast. Apps now update every week or even every day, so testing has moved from long manual checklists to automated tests that run on every change, with AI helping write and maintain them.
This guide covers the basics: what software testing is, why it matters, the seven principles every tester should know, the four levels of testing, the main types, manual vs automated testing, the testing life cycle, and how AI is changing the work.
What is Software Testing?
Software testing is the process of checking that an application works as it should. It means running the software, comparing what it does with what it's supposed to do, and reporting anything that doesn't match.
Testing answers questions like these:
Question | Type of Testing |
|---|---|
Does this feature work? | Functional testing |
Do the different parts work together? | Integration testing |
Is it fast enough, even when lots of people use it? | Performance testing |
Is it safe from attacks? | Security testing |
Is it easy to use, for everyone? | Usability and accessibility testing |
Did the latest change break anything? | Regression testing |
Good testing gives you three things:
Fewer costly failures in production,
Happier users
Confidence to release more often.
Why Software Testing Matters
When software fails, the effects spread. A banking system that goes down at peak time loses transactions and can attract regulatory attention. A healthcare app that crashes mid-appointment puts patients at risk. A retail site that breaks during a big sale loses customers who may not come back.
Bugs also get more expensive the later they're found. A mistake spotted while a requirement is being written takes minutes to fix. The same mistake found by customers can mean an emergency fix, an incident review, refunds and some uncomfortable conversations.
And software is more complex than ever. Modern apps are built from many connected services, rely on third-party systems and update constantly. Each connection is another place something can go wrong, which is why testing has become one of the biggest factors in how quickly a team can release.
The 7 Principles of Software Testing
Principle | What It Means in Practice |
|---|---|
1Testing shows that bugs exist, not that there are none | Passing tests reduce risk, but they can't prove the software is perfect |
Testing everything is impossible | There are too many combinations, so focus on what matters most |
Test early | Start testing when requirements are written, not after the code is finished |
Bugs cluster together | A small number of areas usually contain most of the bugs, so test those harder |
Repeating the same tests finds fewer bugs over time | Keep reviewing and updating your tests, or they stop finding new problems |
Testing depends on context | A banking app needs different testing from a game or a marketing site |
Bug-free doesn't mean useful | Software can pass every test and still not meet users' needs |
Good Habits That Follow from These Principles
Prioritise by risk: Spend the most effort on journeys where a failure would hurt most, like logins, payments and handling personal data.
Automate what you repeat: Regression checks that run on every release are ideal for automation.
Keep tests independent: Each test should run on its own, in any order, so one failure doesn't knock over the rest.
Design tests to be maintained: Reusable steps and clear structure stop your tests from becoming a burden.
The 4 Levels of Software Testing
Level | What It Tests | Who Usually Does It | Example |
|---|---|---|---|
Individual pieces of code, like a function | Developers | A function that calculates tax returns the right amount | |
How connected parts work together | Developers and testers | The checkout sends the right order details to the payment service | |
The complete application as a whole | QA team | A customer can browse, buy and get a confirmation email | |
Whether the software meets business needs | Business users | The finance team confirms invoices look right before go-live |
Main Types of Software Testing
Functional Testing
Functional testing checks that each feature does what it's supposed to. Testers carry out user actions and check the results: a login accepts the right details, a basket adds up correctly, a search returns relevant results. It's about what the system does, not how fast it is or how it's built.
Integration Testing
Integration testing checks that separate parts of a system pass information correctly between them. Modern apps are built from many services, APIs and outside systems, so this testing makes sure data flows properly across each connection, and that the agreements between services stay stable.
Regression Testing
Regression testing checks that things that used to work still do after a change. Every new feature or bug fix carries a small risk of breaking something else, so a good regression suite is what lets teams release often with confidence.
If you're new to this, our guide to the basics of regression testing explains how to build and run a regression suite.
End-to-End Testing
End-to-end testing follows a complete user journey from start to finish, through every system involved. For example, a customer browses products, adds items to the basket, pays, gets a confirmation and tracks the delivery. Unit tests can't catch problems between systems. End-to-end tests can.
UI and UX Testing
UI testing checks that the interface looks right and responds properly: buttons work, forms check their input, navigation makes sense and layouts adapt to different screens. UX testing goes further and asks whether the experience is easy and pleasant to use, looking for confusing steps, too many clicks or inconsistent design.
API Testing
API testing checks the services behind the screen directly. It looks at whether each endpoint returns the right data, handles errors properly, checks permissions and copes with load. Because APIs are often built before the screens, API testing lets teams find problems earlier.
Performance, Security and Accessibility Testing
Type | What It Checks |
|---|---|
Performance testing | Speed, stability and resource use under normal and peak load |
Security testing | Protection against attacks like SQL injection and cross-site scripting, and correct handling of logins and permissions |
Whether people with disabilities can use the app, including with screen readers, keyboard navigation and enough colour contrast |
Accessibility matters for both people and the law. The World Health Organization estimates around 1.3 billion people live with a significant disability, and laws and standards like the ADA, the European Accessibility Act and WCAG 2.2 set expectations for accessible digital services.
To understand how functional testing differs from performance, security and accessibility testing, read our guide to functional vs non-functional testing.
Black Box and White Box Testing
You'll also hear testing described by how much the tester knows about the code. In black box testing, the tester only looks at inputs and outputs. In white box testing, the tester uses knowledge of the code to design tests. Gray box testing sits in between.
For the full comparison, see our guide to black box vs white box testing.
Manual Testing vs Automated Testing
Manual Testing | Automated Testing | |
|---|---|---|
How it works | A person carries out the steps and checks the results | Software runs the steps and checks the results |
Best for | Exploratory testing, usability, one-off checks and new features | Regression, smoke tests and anything repeated often |
Speed | Slow for large or repeated test sets | Fast, and can run in parallel |
Finds | Unexpected problems a script wouldn't look for | Changes in behaviour that were already tested before |
Main drawback | Doesn't scale to frequent releases | Scripted tests can break when the app changes, and need upkeep |
It's not a choice between the two. Good testing uses both: people for exploring, judging and spotting the unexpected, and automation for the repetitive checks that need to run on every release.
Traditional automation frameworks like Selenium, Cypress and Playwright are powerful, but they need programming skills, and tests can break when the app changes. Newer AI testing tools let people write tests in plain English and help keep them working as the app changes, which opens automation up to more of the team.
For a deeper comparison, read our guide to automated vs manual testing.
The Software Testing Life Cycle
Testing follows a series of stages, often called the software testing life cycle (STLC):
Stage | What Happens |
|---|---|
Requirement analysis | Testers review what the software should do, and spot anything that can't be tested or isn't clear |
The team decides the scope, approach, tools, people, schedule and what "done" looks like | |
Requirements are turned into test cases, with steps, test data and expected results | |
Environment set-up | A test environment is prepared that behaves like production |
Test execution | Tests are run, results are recorded and bugs are reported |
Test closure | The team checks it has met its goals, reviews what it learned and reports the results |
Key Testing Documents
Document | What It Is |
|---|---|
The overall approach to testing, usually for a whole organisation or programme | |
Test plan | How testing will be done for a specific project or release |
A high-level description of something to test, like "a customer pays by card" | |
The detailed steps, data and expected result for one check | |
A record of a problem, with steps to reproduce it | |
A summary of what was tested and the results |
Here's what a simple test case looks like:
If you're writing your first test cases, our guide to writing test cases in manual testing includes templates and examples.
Testing in Agile and DevOps
In agile teams, work happens in short sprints, often two weeks long. Testing can't wait until the end, so it happens throughout the sprint, alongside development.
In DevOps, code changes go through an automated pipeline, known as CI/CD (continuous integration and continuous delivery or deployment). Automated tests run every time code changes, so developers find out within minutes whether they've broken something, while the change is still fresh in their minds.
Many teams also "shift left", which means bringing testing earlier. Testers help write acceptance criteria, review requirements and prepare tests before coding starts, so problems are found when they're cheapest to fix.
A typical pipeline might run tests in layers:
Stage | Tests | Typical Time |
|---|---|---|
Every code change | Unit tests and quick smoke tests on key journeys | Minutes |
Before merging | Integration and API tests | Minutes to half an hour |
Nightly or before release | Full regression, across browsers | Under an hour with parallel runs |
After deployment | Checks that the release went live properly | Minutes |
To learn more about testing earlier in development, read our guide to shift-left testing.
Other Testing Basics Worth Knowing
Test Data
Tests need realistic data, like customers, orders and accounts. Using real customer data in testing raises privacy problems, so teams use masked or synthetic data instead. Keeping test data separate from tests means one test can run with many different sets of data, which is called data-driven testing.
Cross-Browser Testing
Users visit websites on different browsers, operating systems and screen sizes. Cross-browser testing checks the app works on all the combinations you support. Cloud testing services make this practical, without keeping a room full of devices.
Bug Reports and Failure Analysis
When a test fails, someone has to work out why. Was it a real bug, a problem with the test, or something wrong in the environment? Clear bug reports, with steps, screenshots and logs, make that much faster.
To see how bugs move from being found to being fixed, read our guide to the bug life cycle.
How AI is Changing Software Testing
Area | How AI Helps |
|---|---|
Writing tests | Tests can be written in plain English, and AI can draft tests from requirements and user stories for people to review |
Keeping tests working | When the UI changes, AI can find elements in other ways and suggest fixes, rather than every test breaking |
Test data | AI can create realistic test data from a simple description |
Understanding failures | AI can look at screenshots, logs and network calls together and suggest the likely cause |
Agents | AI agents can plan, write and maintain tests, with people approving what matters |
One thing hasn't changed: people are still responsible for deciding what to test, judging the results and deciding whether a release is ready. AI does more of the routine work, so testers can focus on the parts that need judgement.
For a fuller picture of where AI fits, read our guide to software testing and AI.
Common Testing Challenges
Challenge | What Helps |
|---|---|
Automated tests keep breaking when the app changes | Tests that find elements in several ways, with fixes your team reviews |
Manual testing can't keep up with releases | Automating regression, and making tests easy for more people to write |
Feedback comes too late | Running automated tests in the CI/CD pipeline on every change |
Only a few people can write automated tests | Plain English tools that testers and business analysts can use |
Too many separate tools | Platforms that combine UI, API and data checks in one test |
We cover each of these in more depth in our guide to test automation challenges.
How Virtuoso QA Helps
Virtuoso QA is an AI testing platform for any browser-based application, from SAP, Salesforce, Oracle and Dynamics 365 to custom web apps.
What You Need | How Virtuoso QA Helps |
|---|---|
Tests anyone can write | Tests are written in plain English, each step runs as you write it, and StepIQ suggests the next step |
Tests from your requirements | Touchstone reads your specs and stories and drafts requirements and tests, each citing its source, with a named person approving each one |
Whole journeys in one test | One test can go through the screens, call APIs and check the database |
Tests that keep working | When the UI changes, Virtuoso QA suggests a fix for your team to accept or reject |
Browser coverage | The same tests run across 2,000+ browser and OS combinations |
Test data | AI generates realistic test data from a plain English description |
Fast feedback | Runs from Jenkins, Azure DevOps and GitHub Actions on every change |
Clear failures | Root cause analysis shows the failing step, screenshots, logs and network calls, and suggests the likely cause |
Proof of what was tested | Every run records the requirement, result and who approved the test |
Related Reads
Software Testing Basics FAQs
What is software testing in simple words?
What are the four levels of software testing?
What are the seven principles of software testing?
What's the difference between manual and automated testing?
Do testers need to know how to code?
How is AI used in software testing?











