We use analytics to count visits and form use. It is on unless you reject it. We show no ads on this site.

Glossary

Dynamic testing

Published . Last updated . Published by Zapple.Tech, founded by the founders of CodeceptJS and Codeception, open-source testing frameworks.

Published
Updated
Related service
Functional testing
Definition

Dynamic testing is testing that involves executing the software. A test supplies input, runs the code and compares what happens with what was expected. Unit tests, integration tests, system tests, acceptance tests, load tests and exploratory sessions are all dynamic. It finds failures in behavior, but you cannot use it on a document or a design that does not run.

Which test levels and types are dynamic?

All of the ones that run code. The syllabus describes five test levels and four test types. Two of the types are functional (the functions are “what” the test object should do) and non-functional (“how well the system behaves”). The table below follows its wording for who runs each level; the last column is our reading, not the syllabus’s.

Level or type What runs Who runs it or what it needs, per the syllabus What it is good at catching (our reading)
Component (unit) One component in isolation, with a harness or unit test framework Developers, in their own environment A wrong calculation or branch in one piece of logic
Component integration Interfaces and interactions between components Depends on the integration strategy (bottom-up, top-down, big-bang) A mismatch between two parts that each pass alone
System The whole product, including end-to-end tasks May be an independent test team A broken user task or a slow page
System integration The system and the external services it calls Needs an environment close to production A changed external interface
Acceptance The system, judged against business needs Ideally the intended users A feature that works but is not what the business needed
Non-functional (performance, security) The system under load or attack For some characteristics, a complete system in a representative environment Slowness under load, an exposed endpoint

Our reading works in reverse too: when a defect reaches production, find its row in the last column. The level in that row is where your testing is thin.

Two more kinds of dynamic testing cut across the table. In the syllabus, exploratory testing designs, runs and evaluates tests at the same time while the tester learns about the product, so it is dynamic too. Security scanning of a running application is also dynamic: the OWASP Web Security Testing Guide lists dynamic application security testing among the automated tools that help scale testing. Load tests, such as those written in Grafana k6, are another example, aimed at performance instead of behavior; our post on automated performance testing covers why teams add them.

Dynamic testing: a test supplies input, the software runs, and the actual result is compared with the expected one; a pass covers only the inputs tried, a failure is traced to a defect; every test level, from component to acceptance, runs code

What does dynamic testing find that static testing cannot, and the reverse?

The ISTQB Foundation Level syllabus (version 4.0.1) says static and dynamic testing complement each other, and that some defect types can only be found by one of them. Its differences, in plain words:

What a run shows:

  • Failures in behavior. The syllabus says dynamic testing causes failures, from which the defects are then traced through analysis.
  • Quality characteristics that depend on executing code. It gives performance efficiency as an example, and maintainability as one that does not depend on executing code.

What a review or analysis shows:

  • Defects in work products that cannot be executed, such as a requirement or a design. Dynamic testing can only be applied to executable work products.
  • Defects on code paths that are rarely executed or hard to reach with tests. The syllabus says static testing may more easily detect these.

Static testing has its own page. For the side-by-side comparison, our post on static and dynamic testing types covers it in full.

How much dynamic testing should be automated, and what stays manual?

Judgment first: our rule of thumb is to automate the checks you repeat on every release and keep people on the ones that need a question asked.

The syllabus gives the reasoning. It lists the benefits of automation: less repetitive manual work, more consistent execution, and faster feedback. It also lists the risks: unrealistic expectations, inaccurate estimates of the effort to maintain scripts, using a tool when manual testing is more appropriate, and relying on a tool so much that human critical thinking is ignored. It adds that regression test suites are run many times, so regression testing is “a strong candidate for automation”.

Keep it manual or exploratory Automate it
A new feature nobody has seen run A regression check that has to pass on every release
Usability and “does this feel right” A calculation with many input combinations
A one-off migration check A smoke test in the delivery pipeline

Our view is that habits matter more than the tool. The Playwright documentation advises that automated tests verify what end users see and do, and that each test is isolated from the others. pytest describes its aim as making it easy to write small, readable tests that scale to complex functional testing.

If your regression checks are slow or flaky, our functional testing services check each feature against its requirements, with automated tests in CI and testers where judgment counts.

What does dynamic testing not tell you?

A passing run shows that the cases you ran passed. It says nothing about the inputs you did not try. It also arrives late: the syllabus notes that in sequential development models executable code is usually created in the later phases, so dynamic testing typically cannot be performed early. Pair it with reviews, which can start as soon as a requirement exists.

For the basics of automating these checks, see our automation testing tutorial. For the last dynamic level before release, see user acceptance testing.

What does Zapple.Tech do about it?

If you are not sure how much of your testing is automated, or whether it runs at the right levels, start with the evidence. Zapple.Tech starts with a one-week QA audit of one product area. It looks at its tests, pipeline and release process, and ends in a written report on what is at risk and what to fix first, plus a pilot plan you can run with Zapple.Tech or without it. Read more on the QA audit and assessment page. Tell us about your product in the form below.

  • Regression testing

    Regression testing confirms that a change, including a defect fix, has caused no adverse consequences. The same checks are run many times, which makes it a strong candidate for automation. Our regression testing services build an automated regression suite in your repository that runs in your CI before every release, with every red run triaged.

  • Performance testing

    Performance testing measures how a system behaves under expected and extreme load: response times, throughput and stability. Its forms include load, stress and soak tests. Our performance testing services run these against targets agreed with you before the first run, as tests in your repository that can be rerun before each release or in CI.

All terms in the glossary

Test with AI

Functional testing

Functional testing services: each feature checked against its requirements, by automated tests in CI and by testers where judgement counts. One-week audit.

See the service

Questions about dynamic testing

What is dynamic testing?

Dynamic testing is testing that executes the software under test. The tester or a tool supplies input, runs the code and compares the result with what was expected. Any test that needs a running build is dynamic, from a unit test to a load test. A review of a requirement or of source code is not.

What is an example of dynamic testing?

A script that opens the login page of a running build, enters a valid user and checks that the account page loads is dynamic testing. So is a tester who tries to check out with an expired card, and a load test that sends many requests to an API and watches response times.

Is unit testing static or dynamic?

Unit testing is dynamic. The ISTQB syllabus calls it component testing and describes it as testing components in isolation, usually by developers with a unit test framework. The code runs during the test. Reading the same code in a review, or linting it, is static testing.

What are the types of dynamic testing?

By level, the syllabus lists component, component integration, system, system integration and acceptance testing. By purpose, tests are functional, which checks what the system does, or non-functional, which checks how well it behaves, for example its performance or security. Exploratory testing is a way of doing any of these.

Request a QA audit quote

Tell us what you ship and what worries you.

What happens after you send this

  1. You send the form: your situation and what you need tested, then your name and work email.
  2. Within one business day, we reply with a suggested first step, its scope, timeline and a quote.
  • Fixed scope
  • You decide after each step
  • The tests live in your repository
  • An NDA signed before access

“They helped us to close the positions and consult our team how to proceed further. High-quality quick feedbacks with the deep checking of the required tasks, professional approach, great understanding of the company's technologies and product, detailed reports.”

Kristina Lavrentieva, Manager at keepgo.com, Israel
  • Rated 4.9 out of 5 on Clutch, from 7 client reviews
  • 42 completed test automation and infrastructure projects
  • Founded by the founders of CodeceptJS and Codeception, open-source testing frameworks

Request a QA audit quote

    What is closest to your situation?
    Optional. The product, the platforms, how often you release, what broke last.

    You decide after our reply whether to go ahead.

    Prefer to talk first? Book a call

    One-week QA audit · written report

    Request a QA audit quote