Testing and quality
We write about testing the way we run it on projects: from the test plan and strategy, through automation and API testing, to a bug report a developer can act on. We show how to match tests to risk, how many you need at each level and which quality metrics actually tell you something.
19 articles · B2Bnetwork team
19 articles
- 01Software verification vs. validation: how they differ and when each one mattersVerification answers the question of whether the system was built according to the specification, and validation answers whether the right system was built, meaning one that meets users' needs. Verification runs throughout the project: requirements reviews, unit, integration and system tests. Validation needs users or their representatives and realistic work scenarios. A project needs both, because a system that is flawless against a wrong specification is still the wrong system.6 min
- 02The test pyramid in practice: how many unit, integration and E2E testsThe test pyramid says you should have the most small, fast tests, meaning unit tests, fewer integration tests, and the fewest end-to-end tests through the user interface. There is no single correct ratio. What counts is the principle: check each rule at the lowest level where it can be checked, and keep E2E tests for the dozen or so paths the business depends on. The shape of the pyramid follows from the system's architecture and from where defects originate.6 min
- 03Regression testing with weekly releases: how to plan itWith weekly releases, regression cannot be one big suite run manually before deployment. What works is layering: a fast automated suite on every change, a fuller automated suite every night, and a short, targeted manual regression before release, chosen based on what changed and on risk. A regression plan means a weekly calendar, an owner of the suite and clear criteria for when to hold a release.6 min
- 04ISTQB Foundation Level 4.0: what changed in the syllabus and how to prepareThe ISTQB Certified Tester Foundation Level 4.0 syllabus was released in April 2023 and replaced version 3.1. It was rewritten from scratch: less tied to a single development model, with topics from agile work such as the whole team approach, DevOps, shift left, ATDD, the test pyramid and the testing quadrants. The exam has 40 questions, lasts 60 minutes, and you need 26 points to pass. Base your preparation on the syllabus, the ISTQB glossary and the official sample exams.6 min
- 05Risk-based testing: how to decide what to test firstRisk-based testing sets the order and depth of tests by risk level, meaning the combination of the likelihood of failure and its business impact. Areas where a defect is both likely and expensive, such as fee calculation or balance migration, are tested first and most thoroughly. Low-risk areas get shallower or later tests. The method gives you a justification when there is less time for testing than work to do, which is almost always.6 min
- 06Test data and GDPR: anonymization, masking and synthetic dataPersonal data copied from production into a test environment is still subject to GDPR, and test environments are usually less protected than production. It is safer to test on anonymized or synthetic data. Masking that leaves the possibility of reconstructing identity is only pseudonymization: it lowers the risk, but the data is still personal. Good practice is a process that, before every environment refresh, turns data into something that cannot be linked to a person while keeping it consistent for tests.7 min
- 07API contract testing: when consumer-driven contracts pay offA contract test checks whether the two sides of an integration, the API consumer and provider, agree on the format of requests and responses without running them together. In the consumer-driven approach the contract comes from the consumer's tests, and the provider verifies it on its side. It pays off when several teams develop services independently and deploy them separately. With a single team, a monolith or a public API with unknown clients, the benefit is small.6 min
- 08Flaky tests: where they come from and how to get them under controlA flaky test is one that passes on one run and fails on another with the same code. The most common causes are dependence on time and order, shared data, not waiting properly for the application state, and an unstable environment. Getting them under control takes three things: detection through result history, quarantine with an owner and a deadline, and fixing the cause rather than just rerunning the test. Without that, the team stops trusting red results.6 min
- 09Playwright, Cypress or Selenium: how to choose an E2E testing toolPlaywright is a good choice for new web projects: it supports the Chromium, Firefox and WebKit engines, the languages JavaScript and TypeScript, Python, Java and .NET, and has built-in waiting for elements. Cypress gives frontend teams writing JavaScript a convenient environment, but it runs inside the browser and has limitations with multiple tabs and domains. Selenium is based on the W3C WebDriver standard, has the widest choice of languages and the Grid infrastructure, so it suits large, multilingual organizations and existing test suites.6 min
- 10Software quality metrics that actually tell you somethingA quality metric makes sense when it helps you make a decision: whether to release a version, where to add tests, whether the process is improving. The most informative are defects escaping to production, DORA delivery metrics such as change failure rate and time to restore service, coverage of risks and requirements by tests, and the stability of the automated suite. The number of test cases and code coverage alone say little. Any metric that becomes a target to hit starts to distort.6 min
- 11BDD and acceptance tests: examples instead of specificationsBDD, or behavior-driven development, is a way of working in which business, developers and testers agree on the system's behavior using concrete examples before any code exists. The examples are written in the Given, When, Then format and then automated as acceptance tests. The main benefit is not the tool but the conversation: ambiguities in requirements surface while writing examples, not after deployment. Without that conversation, BDD turns into a harder-to-maintain notation for ordinary tests.7 min
- 12Test automation: where to start in a projectStart test automation with a handful of stable, frequently repeated regression tests that eat the most manual effort today, not with choosing a tool. First set a goal (a shorter regression cycle, faster feedback after a change), then pick the layer: the API and business logic give the most value for the least effort. Before you write the hundredth test, the environment, test data, CI runs and a readable report must work. Without them, automated tests quickly stop being trusted.6 min
- 13Test manager vs test lead: responsibilities and when you need eachA test lead runs testing in one team or project: plans the testers' work for the coming weeks, assigns tasks, keeps an eye on test case quality and often tests hands-on. A test manager is responsible for testing across a whole program or organization: strategy, budget, the schedule of several teams, risks and the report for management. A small project with one team needs a test lead. A test manager becomes necessary when several teams test, there are several vendors, or the test result decides a major rollout.6 min
- 14Test plan vs test strategy: what each contains and how they differA test strategy describes how an organization or program always tests: test levels and types, the approach to risk, automation, environments, reporting rules. A test plan describes how this particular project or release will be tested: scope, schedule, people, entry and exit criteria, risks. The strategy changes rarely and applies to many projects. A plan is written for each project and evolves with it. The plan applies the strategy and records any deviations from it explicitly.6 min
- 15Accessibility testing: how to check an application against WCAG 2.2You check an application against WCAG 2.2 in three steps: an automated scanner that quickly finds missing alt text and insufficient contrast, a manual test using only the keyboard and a screen reader, and a review of the criteria no tool can judge, such as whether error messages are understandable. The usual target is level AA. You test a representative sample of screens and complete user journeys, and record the result as a list of failed criteria with the location and the fix.6 min
- 16Exploratory testing: how to run sessions and report resultsExploratory testing is testing in which the tester designs, executes and evaluates tests at the same time, learning about the system along the way. To keep it from becoming random clicking, it is run in sessions: the tester gets a test charter with a goal and an area, works within a fixed time, usually 60 to 120 minutes, and notes what was checked, what was found and which questions remain. After the session, a short debrief with the lead turns the notes into a report on coverage, defects and risks.6 min
- 17A bug report a developer can fix the first timeA good bug report lets a developer reproduce the problem without going back to the tester with questions. It contains a title that says what is broken and where, numbered steps to reproduce with data, the expected and actual result, the system version and environment, severity and priority, and evidence: a log, a screenshot, a request ID. One report describes one defect. A report never contains real personal data, passwords or tokens, even when the defect showed up on production data.7 min
- 18Mobile app testing: emulators, real devices and cloud device farmsA mobile app is tested on three kinds of devices. Android emulators and iOS simulators are enough for most logic and UI tests, because they are fast, cheap and easy to run in CI. Real devices are needed for the camera, biometrics, notifications, NFC, performance, battery and behavior on a weak network. A cloud device farm gives you access to many phone models without buying them for your desk. A good setup combines all three and picks the list of models based on what your customers use.6 min
- 19Testing AI systems: how to evaluate language models and their answersA system built on a language model is tested differently from an ordinary application, because the same request can produce different answers and there are many correct ones. Instead of comparing output with one expected text, you build a golden question set with criteria: factual accuracy and grounding in sources, completeness, format, refusal where it is required. Answers are scored by rules, by people and by a second model. Add security tests such as prompt injection, regression after every model or prompt change, and production monitoring.7 min
Didn't find the answer to your question?
Tell us what you're dealing with. An engineer who has worked on a similar system will answer.