Yes. Developers should test their code with unit tests, integration tests, and component tests. But the problem is that doing development testing alone misses requirement gaps, edge cases, and closer reference defects. So teams or companies add independent QA engineers or dedicated QAs to test their product as users will use it.
What does developer testing mean?
Developer testing (also called development testing) is a type of testing in which software engineers run on their own code while they build it. It usually happens before it reaches QA. Alexander Tarlinder who wrote the book Developer Testing: Building Quality into Software (Addison-Wesley, 2016), describes developer testing as a deliberate habit where developers use testing tools and techniques on purpose. Here the goal is write a code that is easy to test and easy to maintain.
In practice, it lives in the CI pipeline. Every commit runs the suite, and a red test blocks the merge before the defect lands in anyone else’s branch. So why bother? You get three wins. You fix bugs while the code is still fresh in your head. You can refactor without holding your breath. And code written to be tested usually comes out in smaller, cleaner modules.
Is developer testing the same as unit testing?
No. Unit testing is one part of developer testing. This also covers integration tests, component tests, API contract tests, static analysis, and code review.
A unit test checks a single function or class in isolation while the developer testing is everything a developer runs before handing his build over. These two get confused often enough that a GOTO Conferences talk is titled “Developers Think ‘Testing’ is Synonymous with ‘Unit Testing’.”
That’s the trap. A green unit suite usually feels like a tested product. Meanwhile the stuff people actually notice can go unchecked like if the app is easy to use, or fast enough, or secure enough, and stable under real traffic.
Which tests do developers own?
Developers own the tests that check their own code. They need to cover unit, integration, component, and API contract tests, as well as the static analysis. Before handing a build to QA, they also need to check the main user flow once thoroughly as a quick smoke check.
- Unit tests: Every new function and every bug fix gets a unit test in the same pull request.
- Integration tests: These check database queries, queues, and service-to-service calls against real or containerized dependencies.
- Component tests: These test one feature or UI component, with its external dependencies stubbed.
- API contract tests: These check request and response shapes against the agreed contract, using tools like Pact.
- Static analysis: Tools like SonarQube and ESLint catch defects without running the app.
- Smoke check: The developer clicks through the main flow once in a test environment before handoff.
Mike Cohn’s test automation pyramid (Succeeding with Agile, 2009) puts this in three way:
- many unit tests at the base
- fewer service tests in the middle
- the fewest UI tests on top
Many web and SaaS teams now lean toward a model popularized by Kent C. Dodds named “The Testing Trophy”. It puts integration tests at the center and relies less on isolated unit tests.
Whichever way your team uses, the bottom and middle layers belong to developers. Ownership stops where a test needs user context. That is where QA takes over. Exploratory testing, usability checks, cross-browser testing and all other types of testing depend on how a real person uses the product.
Performance and security testing which comes under non-functional testing, needs the whole system running under real conditions. A developer just looking at one function cannot see any of that.
Who writes end-to-end tests?
Mainly Developers, QA engineers, or SDETs write end-to-end (e2e) tests. The owner depends on their team model which could be developer-owned, QA-owned, or shared.
Unit and integration tests stay with developers in all 3 models.
| Model | Who writes e2e tests | Who designs e2e scenarios | Fits |
|---|---|---|---|
| Developer-owned | Developers | Developers, from acceptance criteria | Teams with strong automation skills and no QA headcount |
| QA-owned | QA engineers or SDETs | QA engineers | Products with many cross-module user flows |
| Shared | Developers or SDETs | QA engineers | Teams with an embedded QA engineer |
Keeping e2e tests in the application repository, as a 2020 DEV Community post argued, means developers update a test in the same pull request that changes the UI it covers.
Why do developers miss bugs in their own code?
Developers miss bugs in their own code because they test the behavior they intended, not the behavior users will follow.
Whoever built a feature carries one picture of the requirement, and every test they write comes from that same picture. Misread the requirement and you get wrong code plus a test that agrees with it. Both pass.
At TestScenario our own delivery logs show how often this happens. On a ride-hailing platform (passenger app, driver app, web app, and admin panel) which we tested, 2 embedded testers made 271 checks on developer-completed tickets between September 15 and October 28, 2026.
Out of those 166 checks (61%) sent the ticket back to the developers. 117 of the 175 tickets checked (67%) failed at least once, and the testers reported 60 new bugs on top.
What is creator bias in software testing?
Creator bias (also called author bias or the curse of knowledge) is a code author’s tendency to test the paths they designed and skip the ones they never imagined. Glenford Myers flagged it in The Art of Software Testing (1979); one of his testing principles advises programmers against testing their own programs.
It shows up in 3 ways:
- Happy-path testing: valid input, steps in the expected order, nothing unusual.
- Shared assumptions: the same assumption sits in the code and in the test, so the test confirms the bug.
- Early stopping: the first green test feels like done, because the goal was a working feature, not a broken one.
Which bugs get past developer tests?
The bugs that slip through sit outside the function under test: misread requirements, edge cases, cross-module defects, environment issues, usability problems, performance issues, and regressions.
- Misread requirements: the code and the test share the same wrong reading.
- Edge cases: on an auction platform TestScenario tests, the QA scope includes auction closing times that cross a daylight-saving change and invoices with stacked taxes. No test written from the happy path reaches those.
- Cross-module defects: a checkout change breaks the order confirmation email.
- Environment and configuration defects: an OAuth callback or payment webhook passes on staging and fails in production because of a mismatched environment variable or a CORS rule. On the ride-hailing project, one ticket stalled because the Play Store listed build 1.0.7-Prod while the ticket expected 1.0.18, and the test account had no password set.
- Usability defects: confusing labels, broken keyboard navigation, unhelpful error messages.
- Performance and reliability defects: slow queries under load, memory leaks, timeouts.
- Regressions: older features break after a change to shared code.
How do developers test their own code better?
Write tests from the requirement before the code, test the failure paths first, and hand each change to someone else before it ships.
- Write the acceptance criteria as tests before coding, the core of test-driven development (TDD).
- Test failure paths first: invalid input, network errors, expired sessions, empty states.
- Use boundary values: zero, one, the maximum, and one past it.
- Swap features with a peer who tests yours without reading the code.
- Run a short pre-handoff checklist: requirement, error messages, logs, main flow.
- Test in a production-like environment with matching config, data volume, and integrations.
These habits shrink creator bias. They cannot remove it, because the author still decides what gets tested.
Do teams still need QA?
Yes. A QA engineer brings independence, system-wide coverage, and user-focused checks that developer-written tests skip.
A QA engineer (also called a software tester) tests the product against the requirement and real user behavior, not against how the code was designed.
Some teams hire that QA engineer in-house. Others get the same independent view through QA outsourcing.
QA testing covers the whole product: features, integrations, devices, and non-functional behavior such as speed and security.
What if developers already write unit and end-to-end tests?
Automated tests check the scenarios developers already thought of; a QA engineer goes looking for the ones nobody scripted. A test suite repeats known checks. Exploratory testing finds unknown ones.
Suites also need upkeep, and that work rarely wins against a feature deadline. Picture a flaky Playwright test failing at 4 PM on a Friday: the fastest way to unblock the deploy is to comment it out, and it often stays that way.
On a long-running SaaS engagement, TestScenario’s automation engineer spends full days repairing failed scripts, rerunning regression across test environments, and adding checks such as tests that compare on-screen data with Excel exports. For a QA engineer, suite health is the job, not a side task.
What does a QA engineer test that developers skip?
Exploratory testing, end-to-end business flows, usability, cross-browser and cross-device behavior, non-functional behavior, and regression across releases.
- Exploratory testing: unscripted sessions that follow real user behavior and unexpected paths.
- End-to-end business flows: journeys across modules, such as sign-up to first payment.
- Usability: layout, wording, error messages, and accessibility.
- Cross-browser and cross-device behavior: Chrome, Safari, Firefox, Edge, iOS, and Android.
- Non-functional behavior: performance under load, security checks, and reliability.
- Regression across releases: older features retested after every change.
Should QA stay independent from the development team?
Independent in judgment, yes; separate in seating, no. The strongest setup keeps the QA engineer free to report what they find while they work inside the team’s sprints.
The ISTQB Foundation Level syllabus describes levels of test independence, from developers testing their own code to testers from outside the organization.
| Independence level | Who tests | Benefit | Drawback |
|---|---|---|---|
| None | The developer who wrote the code | Fastest feedback | Highest creator bias |
| Low | Another developer on the team | Second mental model | Same code-level focus |
| Medium | QA engineer inside the team | Independent view with daily contact | Shared deadline pressure |
| High | Testers from a separate team or organization | Highest defect discovery | Slower feedback and handoff delays |
The medium level is the embedded model, and it is how most of TestScenario’s client work runs.
How does developer testing differ from QA testing?
Developer testing checks that the code works the way the developer built it; QA testing checks that the product works the way users and the requirements expect.
The developer vs tester split, including the common unit testing vs QA testing mix-up, looks like this:
| Attribute | Developer testing | QA testing |
|---|---|---|
| Performed by | The developer who wrote the code | QA engineer, tester, or SDET |
| Question answered | Does the code do what I built? | Does the product do what users need? |
| Timing | During coding, before merge | After merge, before release, and across releases |
| Scope | Function, module, or service | Whole product and end-to-end business flows |
| Code knowledge | Full (white-box) | Partial or none (gray-box or black-box) |
| Test types | Unit, integration, component, API contract, static analysis | Exploratory, functional, regression, usability, performance, cross-browser |
| Test basis | Code design | Requirements, user behavior, and risk |
| Bias risk | High: authors test their own assumptions | Low: the tester holds a separate mental model |
| Typical tools | JUnit, pytest, Jest, SonarQube | Playwright, Selenium, Cypress, Postman, TestRail, Jira |
| Defects found | Logic errors, broken functions, integration failures | Requirement gaps, edge cases, UX defects, regressions, environment issues |
| Unit testing vs QA testing | Unit testing is one developer-owned layer: it proves a function returns the expected output | QA testing proves the whole product meets the requirement for real users |
A unit suite at 100% code coverage still leaves requirement gaps, cross-module defects, and usability problems untested.
What does an SDET do?
An SDET (software development engineer in test) writes test code, frameworks, and infrastructure, pairing a developer’s skills with a tester’s instinct for breaking things.
Microsoft used the title for its test engineering roles. On teams with 5 to 10 developers per test role, that one test hire is often an SDET, and the reason is leverage.
One person cannot manually explore everything 10 developers ship, but they can build the CI guardrails, test data tools, and frameworks that make every developer’s tests faster and more reliable.
Who owns software quality?
The whole team owns quality. Developers own code correctness, QA engineers own independent verification and run QA testing, and product and engineering leads own the release decision.
| Role | Owns | Example |
|---|---|---|
| Developer | Code correctness and developer tests | Unit tests for every bug fix |
| QA engineer | Independent verification of the product | Exploratory and regression testing before release |
| Product manager | Clear requirements and acceptance criteria | Testable acceptance criteria on every story |
| Engineering lead | Process, test strategy, and release sign-off | Definition of done and release gates |
QA testing is an activity: planning, test execution, exploratory sessions, regression runs, and defect reports.
Quality is what comes out of requirements, code, tests, and release calls together. Hand quality to the QA engineer alone and QA turns into a safety net for untested code, which means more defects reach QA in the first place.
Who is accountable when a bug reaches production?
The process that let the bug through, not the QA engineer who missed it. QA reveals defects; the code contains them.
A blameless postmortem (an incident review that looks at process, not people) asks 4 questions:
- Where did the defect enter: the requirement, the code, or the configuration?
- Which test layer missed it: unit, integration, or QA?
- Why did that layer miss it: no test, a wrong test, or no time?
- Which check prevents a repeat?
So when a developer blames QA for a change he never tested, the real finding is a gap in the definition of done, the checklist a story meets before it counts as complete.
The fix is a line such as “every change ships with unit tests,” not an argument about blame.
Does a separate tester slow developers down?
Only when testing starts after development ends. A tester working inside the sprint shortens the feedback loop. The delay comes from handoff timing, not from having a tester.
On the ride-hailing project above, the testers posted verification results every working day, ran regression on each TestFlight and staging build, and joined stand-ups every other day, so developers heard about failures while the change was still fresh.
How do teams avoid QA bottlenecks?
Test each story as soon as it merges, bring the QA engineer into the sprint, and automate regression.
| Bottleneck cause | Fix |
|---|---|
| Builds handed to QA in one batch at sprint end | Test each story as soon as it is merged |
| QA outside the sprint team | QA engineer joins stand-ups and backlog refinement |
| Unclear acceptance criteria | QA engineer writes test scenarios during refinement, before coding |
| Manual regression on every release | Regression suite automated and run in CI |
What is an embedded QA engineer?
An embedded QA engineer works inside one development team and joins its stand-ups, refinement sessions, and sprint reviews. That is different from a separate QA team that receives builds at the end of a sprint.
An embedded tester writes test scenarios during refinement, tests stories right after merge, and pairs with developers on automation. On an auction software platform, TestScenario’s embedded testers also run release-candidate testing, write release notes, record a demo video for each release, and reproduce customer-reported issues with automation.
A Dedicated QA (one QA engineer assigned full-time to one product) is a form of embedded QA.
Want an embedded tester without a full-time hire? TestScenario’s Dedicated QA engineers join your sprints, stand-ups, and Jira.
Why does developer-owned testing fail in some teams?
It fails where delivery deadlines outrank testing time, because feature output gets measured and testing does not. In engineering forums, practitioners keep naming the same causes; Hacker News threads such as “Asking developers to do QA is broken” (2021) and “Dev-owned testing: Why it fails in practice and succeeds…” are typical.
- Deadline pressure: testing time gets cut first when a sprint runs late.
- No exploratory testing: developers write scripted tests and skip unscripted sessions.
- Ownerless coverage gaps: flows that cross 2 or more teams’ code belong to no single developer.
- Test suite decay: flaky tests get disabled instead of fixed.
Underneath all of them sits one conflict: the developer carries both the delivery target and the testing duty, and the delivery target wins.
When does developer-owned testing work?
When automation is mature, failures are cheap, and testing time is built into every estimate.
- CI gates: the pipeline blocks every merge with a failing test.
- Testing time in estimates: story points include test writing.
- Fast recovery: production monitoring, feature flags, and one-click rollback limit the damage of a missed defect.
- Low-risk domain: no payments, health data, or regulated records.
- Test expertise on hand: an SDET or QA coach reviews developer tests.
When is developer testing enough?
For small, low-risk products with few users, such as an early MVP with a narrow feature set. Developer testing covers code correctness, and product-level risk stays low while the user base and the feature set stay small.
Is developer testing enough for an early MVP?
Usually, as long as the MVP has a narrow feature set, serves early adopters, and does not handle payments, health data, or regulated records. Early adopters forgive rough edges in exchange for early access.
Fintech, healthtech, and legaltech MVPs are the exception: one production defect in a payment or a health record creates financial or legal exposure.
Which signs show a team needs a Dedicated QA?
Users finding bugs before the team does is the clearest sign; slipping releases, recurring regressions, and new compliance requirements are the others.
- Users report bugs before the team finds them.
- Releases slip because of last-minute bug fixing.
- Old features break after new releases.
- Developers spend more of each sprint on manual testing than on building.
- The product adds payments, health data, or compliance requirements.
- More developers start changing shared code at the same time.
- Releases move to weekly or daily deployments.
Seeing these signs? A Dedicated QA engineer from TestScenario works inside your team’s sprint, tests each story after merge, and builds the regression suite your developers stop having time for.
How many testers does a team need per developer?
The most common tester-to-developer ratio is 1:3, and real teams range from no dedicated tester at all to 1 tester per developer. Published figures:
| Source | Figure | Context |
|---|---|---|
| Rice Consulting | Most common 1:3; median 1:5; average 1:7 | Ratios reported across organizations |
| Prolifics Testing (2023) | From 0 testers per developer up to 1 tester per 30 developers | Range across teams |
| MIT knowledge base | 1 QA per 3 developers, moving to 1 per 2 as the team scales, capped at 1:2 | MIT guidance |
Practitioner sentiment spreads even wider. The top answer in a 240-comment r/webdev thread on the question was simply 1:0, meaning no QA role at all, while Medium writers such as J. A. Pardo and Carlos Arguelles describe 1:3 to 1:5 in agile teams and a move away from the 1:1 ratios of waterfall shops.
In TestScenario’s own engagements, one or two testers usually carry a product’s day-to-day testing: two testers cover the ride-hailing platform’s 4 apps, and a single tester logged 544 hours over 12 months on another client product.
What ratio do startups use?
Anywhere from 0:1, no dedicated tester, to about 1:5. Pardo lists 1:5 for agile startups, and plenty of early teams run without a QA role until the warning signs above appear.
What ratio do regulated products use?
Close to 1:1. Finance, healthcare, medical devices, automotive, and aviation carry the highest cost of failure. Standards such as IEC 62304 (medical device software), DO-178C (airborne software), and ISO 26262 (automotive software) require documented verification and traceability between requirements and tests, and that paperwork adds test work for every developer.
What changes the right ratio?
Cost of failure, automation maturity, product complexity, and how much the tester’s role covers.
- Cost of failure: finance, healthcare, hardware, and safety-critical products run closer to 1:1.
- Automation maturity: strong CI suites and developer-owned tests support 1 tester per 5 to 10 developers.
- Product complexity: many user flows, integrations, and frequent releases push the ratio toward more testers.
- Tester role scope: a tester covering exploratory, performance, security, and release sign-off covers fewer developers than one covering functional testing only.
Does AI change who tests code?
Yes. AI coding tools raise the amount of code a team ships, and AI-written tests tend to confirm whatever the AI-written code already does, so independent testing against the requirement matters more, not less.
Developers now generate features and tests together with GitHub Copilot, Cursor, and Claude Code. That makes QA look optional to some CTOs. The catch is where those tests come from.
Who checks tests that AI writes?
The developer who accepts them owns them, and a QA engineer checks the behavior they leave out. An AI-generated test is derived from the code in front of it, not from the product spec.
Ask Copilot to write tests for a discount function that applies 15% where the spec says 10%, and it can produce a test asserting that 15% is correct, because it read the bug, not the requirement. The suite goes green and the defect ships with a test protecting it.
Reviewing AI-written tests comes down to 3 checks:
- Requirement match: each assertion matches the acceptance criteria, not the current output.
- Negative cases: invalid input, errors, and empty states have tests.
- Mock depth: mocks do not hide the real integration failure.
Can AI tools take over QA testing?
Not the judgment part. AI tools take over repetitive test work, while QA engineers keep exploratory testing, risk calls, and release sign-off.
AI testing tools draft test cases, repair broken locators in automation scripts, and group failure logs. Deciding what is worth testing, and whether a release is safe to ship, still sits with a person.
How do developers and QA engineers split testing in one team?
Developers test the code, QA engineers test the product, and both share automation and the release decision.
| Testing activity | Developer | QA engineer |
|---|---|---|
| Unit, integration, and API contract tests | Owns | Reviews gaps |
| Static analysis and code review | Owns | — |
| Test scenarios from acceptance criteria | Supports | Owns |
| Exploratory testing | — | Owns |
| End-to-end automation | Shared | Shared |
| Regression and non-functional testing | Supports | Owns |
| Release sign-off | Shared | Shared |
Developers testing their own code is the first layer of quality. Independent QA testing is the second. A team needs both to catch defects at the code level and at the product level before release.
FAQ
Can developers test each other’s code?
Yes, peer testing (also called buddy testing) lets one developer test another developer’s feature, which reduces creator bias but keeps a code-level focus.
Should developers write Playwright or Cypress tests?
Yes for the flows tied to features they build, especially in a shared model where a QA engineer designs the scenarios and developers or SDETs code them in the same repository.
How does a team move from developer-only testing to a Dedicated QA?
Start with one embedded QA engineer on the product with the most production bugs, give them Jira, stand-up, and staging access from day one, and let them build the regression suite before expanding coverage.
How much code knowledge does a QA engineer need?
Reading-level knowledge: enough to read logs, query databases, call APIs, and write automation scripts, without the depth to build the feature.




