Types, levels and stages of software testing
Software testing is checking that a product does what was agreed and does not break in real conditions. It is organised into levels: unit testing checks individual pieces of code, integration testing checks how they work together, system testing checks the whole product, and acceptance testing checks that it meets the client's expectations. On top of that come testing types: functional, security, load and compatibility checks. Some checks are done by people, others by automated tests that run before every release.
Open the software development page
Why test: the goals of software testing
The goal of testing is not to prove that there are no bugs: that is impossible for any living system. The goal is to find bugs before users do and to reduce the risk that an important scenario breaks at the worst possible moment. A good check answers simple questions: does the main scenario work, is money calculated correctly, is data kept safe, will the product handle the expected number of people, is it closed to outsiders.
There is a second goal that is often forgotten: confidence when things change. After launch a product changes all the time: new features, platform updates, fixes. If checks are written down and repeatable, every change can be released calmly instead of hoping nothing was affected.
- find bugs before customers see them;
- confirm that the product matches the agreed scenarios;
- make sure that new work has not broken old work;
- assess behaviour under load and resistance to attacks;
- give the client a clear basis for accepting the work.
Testing levels: from a single unit to acceptance
Testing levels answer the question of which part of the system is being checked. The lower the level, the cheaper and faster the check and the more precisely it points to the location of a bug. The higher the level, the closer the check is to what a user will actually see.
- Unit testing. Checks a single function or component in isolation: is the discount calculated correctly, is the date parsed properly, is invalid input rejected. Developers write these tests, and they run in seconds.
- Integration testing. Checks how parts work together: the server and the database, the app and the payment service, the website and the CRM. This is where bugs at the joints are caught: a wrong data format, a lost field, an unexpected response from an external system.
- System testing. Checks the whole product in an environment close to production: from signing in to placing an order and receiving a notification. It covers not only features but also speed, device compatibility and behaviour during failures.
- Acceptance testing. The client or their representatives check the product on their own scenarios and decide whether the result is accepted. The criteria are best agreed in advance, while the task is being described.
The levels do not replace one another. A thousand unit tests will not show that the payment button is hidden on a small screen, and manual acceptance will not find a rounding error that appears once a month.
Testing types: what exactly is checked
If levels say where to check, testing types say what to check. The main split is between functional and non-functional checks.
- Functional: does the product do what it should, such as sign-up, search, cart, payment, reports and role permissions.
- Usability and interface: is the user's path clear, are there dead ends, is the text readable, does the right-to-left layout work correctly for Arabic.
- Compatibility: does the product work on the required devices, versions of iOS, Android, macOS and Windows, and in browsers.
- Performance and load: how fast screens open and what happens when the number of users grows.
- Security: can someone get another person's data, bypass permission checks or slip in harmful input.
- Localisation: are translations in place, and are date, currency and number formats right for every language.
- Recovery: what happens after a server failure, a dropped connection or a failed update, and can data be restored from a backup.
The set of types depends on the product. An internal tool for twenty employees does not need serious load testing, while for a service that takes payments, security matters more than polished animations.
Manual testing and automated tests
Manual testing is a person walking through scenarios the way a user would and noticing things that are hard to formalise: an awkward form, odd wording, an unclear step. It is essential for new features, for checking the interface and for exploratory testing, when a tester deliberately tries to break the product with unusual actions.
Automated tests are code that checks code. They do not get tired, do not skip steps and run on every change. It pays to automate what repeats: calculations, permission checks, key scenarios such as sign-in and payment, and handling of errors from external systems. The automated suite grows with the product and becomes its safety net.
A sensible mix looks like this: many fast unit tests at the base, fewer integration tests, a handful of end-to-end scenarios that go through the whole product, and manual checks of what a person sees. Trying to automate everything is as wrong as automating nothing: some tests would cost more to maintain than the bugs they catch.
Regression: why new code breaks old features
Regression testing checks that what worked before still works after a change. In a connected system, a change in one place easily affects another: the delivery calculation is changed and the cart total breaks, a library is updated and the PDF export stops opening.
Regression is almost always worth automating. A full manual check before every release quickly becomes too long, and teams start cutting it exactly when it is needed most. An automated suite runs through all key scenarios in minutes and shows exactly what broke.
A good habit is to turn every bug found into a test. Then a problem fixed once will not come back unnoticed six months later.
Security testing
Security testing looks for ways to get what must not be accessible: other people's orders, other people's documents, administrator rights, data from the database. It should not be left to the last day, because many vulnerabilities are built into the architecture, and fixing them at the end is expensive.
- permission checks: does a user see only their own data, and can a manager do something only an administrator is allowed to do;
- input checks: what happens if unexpected data is slipped into a form, an address or a file;
- sign-in and sessions: resistance to password guessing, session lifetime, account recovery;
- secrets: are there passwords or keys in the code, the repository or the logs;
- dependencies: do the libraries in use have known vulnerabilities;
- money: are amounts calculated on the server rather than on the client side, where they could be tampered with.
For products with payments and personal data, a separate external review is sometimes commissioned. But it does not replace day-to-day discipline: security is built into every change, not added before handover.
Load testing
Load testing shows how a product behaves when there are many users: during an ad campaign, a sale, a mailing or the end of the month for accountants. A stream of requests is simulated to see where response times grow, where errors appear and what breaks first: the database, the server or an external service.
It is often paired with a stress test, where the load is pushed beyond what is expected to find the limit and to check that the system recovers by itself after overload. The result is not a single number but an understanding of bottlenecks and a plan: what to speed up, what to move into a queue, when to add capacity.
Testing stages in a project
Testing is not a separate phase at the end but a line that runs through the whole project. In simplified form, the stages look like this:
- Requirements analysis. Before any code is written, the team checks whether scenarios are clear and whether each requirement can be verified. A vague 'it should be convenient' is turned into concrete conditions.
- Planning. The team decides which levels and types of checks are needed, on which devices and system versions, and what to automate.
- Preparation. Scenarios and test data are described, and an environment close to production is set up without real customer personal data.
- Execution. Developers write and run unit and integration tests, manual checks are carried out, and bugs found are logged and fixed.
- Regression and pre-release checks. Before deployment the full automated suite runs; if it is red, there is no release.
- Acceptance. The client checks the product on the agreed scenarios.
- Monitoring after launch. Failure alerts and logs reveal what the checks missed, and every finding becomes a new test.
How to fit these steps into the overall project schedule is covered in the guide app development timeline.
Who tests what and when
Responsibility for quality is shared, but the roles differ. A developer writes unit tests and some integration tests together with the code and checks their change before passing it on. A tester or quality engineer plans checks, walks through scenarios, looks for edge cases and maintains the automated suite. The client and their staff check the product on real tasks and accept the work.
It matters that testing starts early. A requirements mistake found during discussion costs a few minutes of conversation. The same mistake found after release costs a fix to the code, the data and customers' trust. That is why verifiable criteria are worth writing down already in the task description; how to do that is shown in the guide how to write a software brief.
The last participants are the users themselves. A beta test with a limited group before a wide launch helps reveal scenarios the team did not think of.
How testing connects to acceptance
Acceptance scenarios are the bridge between testing and project handover. If they are agreed in advance, acceptance becomes a clear check against a list rather than an argument about what counts as finished. The client checks the product in production on their own scenarios, and the team shows that the automated checks are green and can keep running without their author.
What else to receive at handover, including the source code, rights, access, release instructions, failure alerts and backups, is described in detail in the guide software project acceptance.
How we approach testing at JEEKSSHIRE 24
For us, testing is part of development, not a separate service. Scenarios are agreed in advance, the product is checked on the required devices and system versions, and bugs found are fixed before handover. Every deployment goes through build, lint and tests: if the gate is red, there is no release, however urgent it is. Our own products, more than ten of them in production, are released by the same rules.
Security is a requirement for every change: validating every incoming field, separating permissions by role, keeping secrets out of the code and calculating money on the server. After launch the product stays under watch: failure alerts, backups with restore checks and dependency updates. More on this on the page software support and improvement. The projects we test and release include web applications and mobile apps; all services are gathered on the page custom software development.
Frequently asked questions
What levels of testing are there?
Usually four: unit testing checks individual pieces of code, integration testing checks how they connect, system testing checks the whole product, and acceptance testing checks that it meets the client's expectations.
How is manual testing different from automated testing?
Manual testing is done by a person who notices awkward or strange parts of the interface. Automated tests are code that repeats checks quickly and identically on every change.
What is regression testing?
A check that everything that worked before still works after a change. It pays to automate it and run it before every release.
When should testing start?
At the very start of the project: verifiable criteria are written into the task description, and tests are written together with the code. The earlier a bug is found, the cheaper it is to fix.
Does a small project need security testing?
Yes, if the product has sign-in, personal data or payments. Basic checks of permissions, input and secrets are needed for any such product, and an external audit depends on the level of risk.
Who is responsible for testing?
Developers write unit and integration tests, testers plan checks and walk through scenarios, and the client accepts the product on their own tasks.
Can a product be tested one hundred percent?
No. It is impossible to fully prove there are no bugs, so the most important and risky scenarios are checked, and failures are monitored after launch.