# Smoke Tests

Smoke tests are quick end-to-end functional tests of a software solution's basic functionality; a failure indicates a serious problem.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How to migrate JMeter tests to Postman

DevFeed: [How to migrate JMeter tests to Postman](<https://devfeed.tech/articles/how-to-migrate-jmeter-tests-to-postman-125769.md>)

Original publisher: [Read original article](<https://blog.postman.com/how-to-migrate-jmeter-tests-to-postman/>)

Author: Giridhar

Published: 2026-11-10T00:12:00Z

Content type: tutorial

Language: en

Sources: [Postman](<https://devfeed.tech/sources/postman-blog.md>)

Topics: [Postman](<https://devfeed.tech/topics/postman.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Postman CLI](<https://devfeed.tech/topics/postman-cli.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [apache](<https://devfeed.tech/tags/apache.md>), [api](<https://devfeed.tech/tags/api.md>), [assertions](<https://devfeed.tech/tags/assertions.md>), [auth](<https://devfeed.tech/tags/auth.md>), [basic](<https://devfeed.tech/tags/basic.md>), [bearer](<https://devfeed.tech/tags/bearer.md>), [bearer-token](<https://devfeed.tech/tags/bearer-token.md>), [blog](<https://devfeed.tech/tags/blog.md>), [boundary](<https://devfeed.tech/tags/boundary.md>), [ci](<https://devfeed.tech/tags/ci.md>), [coding-agent](<https://devfeed.tech/tags/coding-agent.md>), [general](<https://devfeed.tech/tags/general.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [jmeter](<https://devfeed.tech/tags/jmeter.md>), [load](<https://devfeed.tech/tags/load.md>), [migrate](<https://devfeed.tech/tags/migrate.md>), [performance-testing](<https://devfeed.tech/tags/performance-testing.md>), [postman](<https://devfeed.tech/tags/postman.md>), [postman-cli](<https://devfeed.tech/tags/postman-cli.md>), [reuse](<https://devfeed.tech/tags/reuse.md>), [test-plan](<https://devfeed.tech/tags/test-plan.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Postman's coding-agent plugin imports a JMeter `.jmx` plan into a Postman Collection, provides a performance-run command, and reports which items were imported exactly, approximated, or need manual work. Install it with Node.js 22 or later, review the report, smoke test the collection with real credentials, then compare p95 and error rate against a prior JMeter run at the same virtual-user count. HTTP requests, common auth, extractors, and response assertions have direct mappings; timers and think time, concurrent thread groups, non-HTTP samplers, and some scripts or extractors are unsupported or need rewriting. Local performance runs work on all plans. Cloud runs require a paid plan and at least 10 virtual users; they can generate more load, use fixed source IPs, and share results in Postman. Cloud runs require datasets instead of `--data-file` and Shared Vault secrets instead of Local Vault secrets.

### Source excerpt

Migrate a JMeter .jmx test plan to Postman with your coding agent: reuse requests, auth and assertions, then run load tests in CI. The post How to migrate JMeter tests to Postman appeared first on Postman Blog.

## Decompose Run-On Tests

DevFeed: [Decompose Run-On Tests](<https://devfeed.tech/articles/decompose-run-on-tests-86289.md>)

Original publisher: [Read original article](<https://newsletter.kentbeck.com/p/decompose-run-on-tests>)

Author: Kent Beck

Published: 2026-10-13T13:31:10Z

Content type: tutorial

Language: en

Sources: [Software Design: Tidy First?](<https://devfeed.tech/sources/software-design-tidy-first.md>)

Topics: [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>)

Tags: [coverage](<https://devfeed.tech/tags/coverage.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [guide](<https://devfeed.tech/tags/guide.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Kent Beck explains how to decompose run-on tests into shorter, clearly named tests while preserving the suite's overall coverage. The method copies the original test, isolates each assertion with only the necessary setup and operations, and then removes the original after the new tests are in place.

### Source excerpt

Run-On Tests

## Canonical is replacing Ubuntu's split kernel SRU tracks with a two-week cycle

DevFeed: [Canonical is replacing Ubuntu's split kernel SRU tracks with a two-week cycle](<https://devfeed.tech/articles/ubuntu-is-tightening-its-kernel-sru-cycle-to-two-weeks-and-clankers-are-to-blame-59595.md>)

Original publisher: [Read original article](<https://feed.itsfoss.com/link/24361/17472488/ubuntu-kernel-sru-cycle-update>)

Author: Sourav Rudra

Published: 2026-09-24T16:10:45Z

Content type: news

Language: en

Sources: [It's FOSS](<https://devfeed.tech/sources/it-s-foss.md>)

Topics: [Kernel](<https://devfeed.tech/topics/kernel.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Security](<https://devfeed.tech/topics/security.md>), [patches](<https://devfeed.tech/topics/patches.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [acceptance-tests](<https://devfeed.tech/tags/acceptance-tests.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [kernel-security](<https://devfeed.tech/tags/kernel-security.md>), [news](<https://devfeed.tech/tags/news.md>), [security](<https://devfeed.tech/tags/security.md>), [security-patches](<https://devfeed.tech/tags/security-patches.md>), [testing](<https://devfeed.tech/tags/testing.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

### AI overview

Canonical is replacing Ubuntu's separate regular-fix and security kernel SRU tracks with a single two-week cycle. The process integrates patches during the first week and tests builds on certified hardware during the second, enabling a kernel release every week.

### Source excerpt

Ubuntu users will get kernel security fixes faster thanks to this.

## How to Configure Playwright Test to run smoke tests, headed tests, and debug versions through scripts in package.json

DevFeed: [How to Configure Playwright Test to run smoke tests, headed tests, and debug versions through scripts in package.json](<https://devfeed.tech/articles/how-to-configure-playwright-test-to-run-smoke-tests-headed-tests-and-debug-versions-through-scripts-in-package-json-22419.md>)

Original publisher: [Read original article](<https://www.tjmaher.com/2026/08/how-to-configure-playwright-test-to-run.html>)

Author: T.J. Maher (noreply@blogger.com)

Published: 2026-08-20T02:13:32Z

Content type: tutorial

Language: en

Sources: [T.J. Maher](<https://devfeed.tech/sources/t-j-maher.md>)

Topics: [Playwright](<https://devfeed.tech/topics/playwright.md>), [Script](<https://devfeed.tech/topics/script.md>), [Bun](<https://devfeed.tech/topics/bun.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [test](<https://devfeed.tech/topics/test.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>)

Tags: [bun](<https://devfeed.tech/tags/bun.md>), [bun-create-playwright](<https://devfeed.tech/tags/bun-create-playwright.md>), [commands](<https://devfeed.tech/tags/commands.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

A tutorial on configuring Playwright Test commands in package.json scripts. It demonstrates shortcuts for headed, traced, Chromium, Firefox, WebKit, smoke, debugging, reporting, linting, formatting, and type-checking workflows, and explains using Bun and bunx to run commands.

### Source excerpt

Earlier, we went over how we could create scripts in the package.json file of our Playwright framework to add typechecking, linting, and formatting your code with prettier. Want to see the entire bun-create-playwright project? It is on tinyurl.com/bun-create-playwright! With this post, we will explore how the built-in test runner for Playwright Test can run headed tests, debug versions of tests, and smoke tests. ... and shortcuts for all of these can be set up in the scripts in your package.json! If you are using "bun" as a package manager, as we are in bun-create-playwright, just type out "bun run", a space and then the shortcut such as: bun run test package.json "scripts": { "test": "playwright test", "test:headed": "playwright test --headed", "test:trace": "playwright test --trace on", "test:chromium": "playwright test --project=chromium", "test:firefox": "playwright test --project=firefox", "test:webkit": "playwright test --project=webkit", "test:smoke": "playwright test --project=chromium --grep '@smoke'", "test:flaky": "playwright test --project=chromium --repeat-each=20", "test:ui": "playwright test --ui", "test:debug": "playwright test --debug", "test:failed": "playwright test --last-failed", "test:login": "playwright test tests/login.spec.ts", "test:secure-area": "playwright test tests/secure-area.spec.ts", "report:list": "playwright test --reporter=list", "report:line": "playwright test --reporter=line", "report:dot": "playwright test --reporter=dot", "report:blob": "playwright test --reporter=blob", "report": "playwright show-report", "codegen": "playwright codegen", "lint": "eslint .", "lint:ci": "eslint . --max-warnings 0", "lint:fix": "eslint . --fix", "format": "prettier --write .", "format:check": "prettier --check .", "format:debug": "prettier --check . --log-level debug", "format:diff": "prettier --list-different", "typecheck": "tsc --noEmit" }, bun-create-playwright / package.json Do you need to really set up shortcuts like these? Certainly not! B

## Buckle Up! VyOS with VPP Is Coming in 1.5

DevFeed: [Buckle Up! VyOS with VPP Is Coming in 1.5](<https://devfeed.tech/articles/buckle-up-vyos-with-vpp-is-coming-in-1-5-53578.md>)

Original publisher: [Read original article](<https://blog.vyos.io/buckle-up-vyos-with-vpp-is-coming-in-vyos-1.5>)

Author: taras@vyos.io (Taras Pudiak)

Published: 2025-09-22T14:30:52Z

Content type: release

Language: en

Sources: [VyOS](<https://devfeed.tech/sources/vyos-blog.md>)

Topics: [releases](<https://devfeed.tech/topics/releases.md>), [Network](<https://devfeed.tech/topics/network.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [protocols](<https://devfeed.tech/topics/protocols.md>), [BGP](<https://devfeed.tech/topics/bgp.md>), [VXLAN](<https://devfeed.tech/topics/vxlan.md>)

Tags: [1-5](<https://devfeed.tech/tags/1-5.md>), [bgp](<https://devfeed.tech/tags/bgp.md>), [devices](<https://devfeed.tech/tags/devices.md>), [gre](<https://devfeed.tech/tags/gre.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [ospf](<https://devfeed.tech/tags/ospf.md>), [performance](<https://devfeed.tech/tags/performance.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [release](<https://devfeed.tech/tags/release.md>), [tests](<https://devfeed.tech/tags/tests.md>), [vpp](<https://devfeed.tech/tags/vpp.md>), [vyos](<https://devfeed.tech/tags/vyos.md>), [vyos-project](<https://devfeed.tech/tags/vyos-project.md>)

### AI overview

VyOS reports progress toward integrating VPP into its core system for version 1.5. The update covers aligned packaging, automatic delivery in rolling releases, smoke testing, fail-safe configuration checks, and hardware targets focused on high-performance platforms and 100 Gbps interfaces.

### Source excerpt

Happy September to everyone! We haven't published an expanded blog post about VPP for a while, so it's a good time to fulfill your curiosity and share the latest updates. Over the past few months, we've made important progress: VPP has been promoted to a core feature, packaging and updates are now aligned with the base OS, smoke tests help catch regressions, fail-safes have been added, and we've defined our initial hardware targets. Here's what that means for you and what comes next.

## Announcing the Elastic Bounty Program for Behavior Rule Protections

DevFeed: [Announcing the Elastic Bounty Program for Behavior Rule Protections](<https://devfeed.tech/articles/announcing-the-elastic-bounty-program-for-behavior-rule-protections-48986.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/threat-command/behavior-rule-bug-bounty>)

Author: Mika Ayenson,Samir Bousseaden,Rodrigo Silva,Jake King

Published: 2025-01-29T00:00:00Z

Content type: release

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [Security Information and Event Management (SIEM)](<https://devfeed.tech/topics/siem-security.md>), [Endpoint Security & XDR](<https://devfeed.tech/topics/endpoint-security-xdr.md>), [Security research](<https://devfeed.tech/topics/security-research.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [High Profile Threats](<https://devfeed.tech/topics/high-profile-threats.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [bounty](<https://devfeed.tech/tags/bounty.md>), [detection-engineering](<https://devfeed.tech/tags/detection-engineering.md>), [edr](<https://devfeed.tech/tags/edr.md>), [security](<https://devfeed.tech/tags/security.md>), [security-research](<https://devfeed.tech/tags/security-research.md>), [siem](<https://devfeed.tech/tags/siem.md>), [testing](<https://devfeed.tech/tags/testing.md>), [threat-research](<https://devfeed.tech/tags/threat-research.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Elastic announces an expansion of its security bounty program for testing SIEM and EDR detection rules. Researchers are invited to identify evasion techniques, bypasses, gaps, and vulnerabilities, initially on Windows endpoints.

### Source excerpt

Elastic is launching an expansion of its security bounty program, inviting researchers to test its SIEM and EDR rules for evasion and bypass techniques, starting with Windows endpoints. This initiative strengthens collaboration with the security community, ensuring Elastic's defenses remain robust against evolving threats.

## Building On-call: Continually testing with smoke tests

DevFeed: [Building On-call: Continually testing with smoke tests](<https://devfeed.tech/articles/building-on-call-continually-testing-with-smoke-tests-11731.md>)

Original publisher: [Read original article](<https://incident.io/blog/continually-testing-our-product-with-smoke-tests>)

Author: Rory Malcolm

Published: 2024-08-09T10:00:00Z

Content type: article

Language: en

Sources: [The incident.io Blog](<https://devfeed.tech/sources/the-incident-io-blog.md>)

Topics: [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Continuous Delivery (CD)](<https://devfeed.tech/topics/continuous-delivery.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [abstractions](<https://devfeed.tech/tags/abstractions.md>), [actions](<https://devfeed.tech/tags/actions.md>), [alarm](<https://devfeed.tech/tags/alarm.md>), [alert](<https://devfeed.tech/tags/alert.md>), [alerting](<https://devfeed.tech/tags/alerting.md>), [building](<https://devfeed.tech/tags/building.md>), [call](<https://devfeed.tech/tags/call.md>), [changes](<https://devfeed.tech/tags/changes.md>), [incident](<https://devfeed.tech/tags/incident.md>), [incident-channel](<https://devfeed.tech/tags/incident-channel.md>), [incident-management](<https://devfeed.tech/tags/incident-management.md>), [incident-response](<https://devfeed.tech/tags/incident-response.md>), [let](<https://devfeed.tech/tags/let.md>), [make](<https://devfeed.tech/tags/make.md>), [making](<https://devfeed.tech/tags/making.md>), [on-call](<https://devfeed.tech/tags/on-call.md>), [outage](<https://devfeed.tech/tags/outage.md>), [post-mortem](<https://devfeed.tech/tags/post-mortem.md>), [product](<https://devfeed.tech/tags/product.md>), [slack-incident](<https://devfeed.tech/tags/slack-incident.md>), [solid](<https://devfeed.tech/tags/solid.md>), [system](<https://devfeed.tech/tags/system.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

The article describes smoke tests used to validate On-call's reliability while enabling frequent changes. A full end-to-end suite runs every minute in production and staging, exercising infrastructure and third-party integrations; the same tests run on pull requests and deployments in containers on one machine. Tests cover alert ingestion, escalation, malformed JavaScript, and user-relevant timing in an asynchronous system. The authors recommend clearing leftovers at the start of each run to prevent failed tests from leaving state that blocks future runs, and using application abstractions instead of direct database edits so tests preserve validation and guard rails. Continuous production-like traffic also exposed scaling and performance assumptions before customers encountered them. The authors frame smoke testing as one part of a broader reliability effort.

### Source excerpt

Launching On-call meant we had to make our system rock-solid from the get-go. Our solution? Smoke tests to let us continually test product health and make sure we're comfortable making changes at pace.

## Firebase App Distribution Introduces Automated Tester (Beta)

DevFeed: [Firebase App Distribution Introduces Automated Tester (Beta)](<https://devfeed.tech/articles/firebase-app-distribution-introduces-automated-tester-beta-16537.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2024/02/automated-smoke-testing-app-distribution>)

Author: Radhika Advani

Published: 2024-02-21T00:00:00Z

Content type: release

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [Firebase](<https://devfeed.tech/topics/firebase.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [Android](<https://devfeed.tech/topics/android.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [announce](<https://devfeed.tech/tags/announce.md>), [apk](<https://devfeed.tech/tags/apk.md>), [app-distribution](<https://devfeed.tech/tags/app-distribution.md>), [app-quality](<https://devfeed.tech/tags/app-quality.md>), [automated](<https://devfeed.tech/tags/automated.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [firebase-cli](<https://devfeed.tech/tags/firebase-cli.md>), [test-lab](<https://devfeed.tech/tags/test-lab.md>)

### AI overview

Firebase App Distribution introduces Automated Tester (Beta), which runs automated smoke tests on Android app builds across selected devices and API levels. Results include reports with screenshots, video recordings, and issues, with Test Lab rates applying after the daily no-cost cap.

### Source excerpt

News, tutorials, and updates from the Firebase team.

## The Unreasonable Effectiveness of Data Pipeline Smoke Tests

DevFeed: [The Unreasonable Effectiveness of Data Pipeline Smoke Tests](<https://devfeed.tech/articles/the-unreasonable-effectiveness-of-data-pipeline-smoke-tests-83739.md>)

Original publisher: [Read original article](<https://dagster.io/blog/smoke-test-data-pipeline>)

Author: Sandy Ryza

Published: 2022-10-19T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dagster](<https://devfeed.tech/sources/dagster.md>)

Topics: [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [auto rerun failed tests](<https://devfeed.tech/topics/auto-rerun-failed-tests.md>)

Tags: [data-pipeline](<https://devfeed.tech/tags/data-pipeline.md>), [data-pipelines](<https://devfeed.tech/tags/data-pipelines.md>), [dbt](<https://devfeed.tech/tags/dbt.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

The article explains how to use a single smoke test to run data pipeline transformations on empty or synthetic data. It describes stubbing external source data, running Python transformations in memory with Dagster, and using a separate database for SQL and dbt pipelines. These tests can catch transformation errors during local development or in CI, though they are less useful when pipeline correctness depends on interactions with external systems.

### Source excerpt

Data practitioners waste time writing unit tests to catch bugs they could have caught with smoke tests.

## How High Are Your Tests?

DevFeed: [How High Are Your Tests?](<https://devfeed.tech/articles/how-high-are-your-tests-22022.md>)

Original publisher: [Read original article](<http://www.wilfred.me.uk/blog/2019/03/04/how-high-are-your-tests/>)

Author: Wilfred Hughes

Published: 2019-03-04T00:00:00Z

Content type: article

Language: en

Sources: [Wilfred Hughes](<https://devfeed.tech/sources/wilfred-hughes.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Integration testing](<https://devfeed.tech/topics/integration-testing.md>), [Unit testing](<https://devfeed.tech/topics/unit-testing.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>)

Tags: [integration-test](<https://devfeed.tech/tags/integration-test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-test](<https://devfeed.tech/tags/unit-test.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

### AI overview

The article proposes describing tests by "height" on a 0-100 scale instead of forcing them into discrete unit and integration categories. Low-height tests isolate code and check runtime values in one process; higher examples add a scratch database, then an HTTP server and browser, and finally system infrastructure. As height rises, tests exercise more realistic paths and can increase confidence, but they also become slower, harder to maintain and debug, and more prone to flakiness. The scale is contextual rather than a fixed classification: setup, dependencies, protocols, and teardown affect a test's height, while labels such as "unit," "integration," "quick," and "slow" may reflect tooling or convenience. The excerpt suggests a few high-level sanity checks, such as confirming that a full server's homepage loads.

### Source excerpt

How big can a unit test be? How small can an integration test be? It's easy to argue about whether a test is a 'true' unit test or not. If we test several classes together, is it still a unit test? If we use a small external API, must we call it an integration test? The problem is that testing is a spectrum, but our terminology only allows discrete levels. Putting A Number On It I propose we treat testing as a numerical scale instead. Let's introduce a concept of test height, from 0 to 100. At 0, we have low-level, isolated unit tests. They run quickly, they run in process, and they're extremely reliable. No setup or teardown is required. At 100, we have high-level tests of full computer systems. We spin up an elaborate infrastructure of databases, external services, and exercise real protocols. Many processes run, runtime can be very variable, and flakiness is a continuing challenge. Let's look at some examples! We'll look at some code for a wiki website, and discuss different tests we could write. 20: An Isolated Test At the lowest level, we have code that only depends on its inputs. def slugify(value): if not value: return value # we don't want /, # or ? in our URL value = value.replace('/', '') .replace('#', '') .replace('?', '') # replace whitespace with underscores return re.sub('[-\\s]+', '_', value) We can easily write a small unit test for a function like this. There are no dependencies on external resources, or even external libraries. def test_slugify(): assert slugify('foo/bar baz?') == 'foobar_baz' This test only requires a single process, and our test assertion is simply looking at runtime values. 40: Running With A Scratch Database Our wiki stores its data in a database. Let's look at some view code that ultimately creates database rows. def create_user(request): if request.POST: form = UserForm(request.POST) if form.is_valid(): form.save() return HttpResponseRedirect(reverse('all_users')) else: form = UserForm() template_vars = {'form': form} return

## On behavior verifications

DevFeed: [On behavior verifications](<https://devfeed.tech/articles/on-behavior-verifications-27280.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/201709/behavior-verifications/>)

Published: 2017-09-06T00:00:00Z

Content type: article

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [Refactoring](<https://devfeed.tech/topics/refactoring.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>)

Tags: [integration-test](<https://devfeed.tech/tags/integration-test.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

A developer recounts refactoring springmock after its double-definition parsing class accumulated responsibilities. The article explains the resulting test failures and recommends incremental refactoring, integration or smoke tests, and verifying behavior through tests.

### Source excerpt

When I've got some free time I try to add new features to springmock. Lately, after adding some new stuff I realized that double definition parsing class has more than one responsibility (class parsing, naming, definition creation, etc). So I've decided it's time to refactor it and split responsibilities into dedicated classes. Once I did that and tests in the shared kernel started to pass I executed mvn verify just to be sure that everything was working and it wasn't... Read more