Skip to content
PluginStats

slicetest weekly downloads statistics

By revo1290 · npm · Testing

Framework-agnostic slice tests: drive a real app process over HTTP with a real Postgres, MySQL or SQLite and stubbed outbound APIs, checked against OpenAPI contracts.

View on npm Fresh · Oct 17, 2026

slicetest has 36 recorded weekly downloads on npm.

It ranks #1776 of 2,255 tracked npm listings by weekly downloads.

Over the past 7 days it changed by -89.7%.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
36
Official API · Oct 17, 2026
7-day growth
-89.7%
-314 weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1776
Among tracked npm listings

About slicetest

slicetest

Report a bug / 不具合報告 · Contributing / 貢献ガイド

Tests that sit between unit tests and end-to-end tests, for apps written in any language or framework.

slicetest starts your app as a real process, points it at a real Postgres (or MySQL, or SQLite) and at stub servers for the services it calls, and lets you check all three sides in one scenario:

No browser, no mocked database, no hooks inside your app. The app only has to read its port, database URL and outbound base URLs from environment variables. (State the app keeps in memory is the one thing that may need your help: state between scenarios.)

Why, and when not to use it

Testing an API against a real server, a real database and stubbed third parties is an established approach, and most stacks can do it already (Spring Boot starts a real server in tests and integrates with Testcontainers; Playwright has API testing; WireMock stubs HTTP services and simulates faults). slicetest doesn't claim something only it can do. It bundles the parts you'd otherwise assemble per project, for any language the app is written in: starting the app, the database and the stubs, resetting them between scenarios, checking the three boundaries in one scenario, and explaining a failure.

The usual labels mix up three separate questions: is anything mocked, is a real server running, and how much does the test cover. Side by side:

| Approach | Mainly checks | Strong at | Limits |

| Function / class tests | Logic, boundaries, exception branches | Control over internal dependencies | Real connections and SQL need a separate check | | API integration tests you already have | HTTP, the app, a real DB, calls to external services | Fit with your existing framework | Starting, resetting and diagnosing is yours to build, depending on the setup | | slicetest | The same API-level tests, plus environment management and diagnostics | Several checks in one scenario; the same scenarios for any language | Reaching into the app's internals, or a dependency it doesn't support, takes extra design | | Browser E2E | From UI actions through the main flows | What happens in the browser | Poor at controlling fine-grained internal state |

What slicetest keeps real: the HTTP server, the SQL and the migrations. What it replaces: services you don't own, with stubs. With OpenAPI specs it also checks that your stubs' replies could come from the real service, within what the spec documents (what each check does and doesn't guarantee).

Whether it's worth adopting depends on what you have:

| Team or use | Verdict |

| No test setup for the API, the DB and external calls | A small trial fits | | Several languages, and you want one way to test all of them | A comparatively strong candidate | | Failures take long to investigate in logs and the DB | Worth measuring what the combined output saves | | Spring (or similar) integration tests that already run stably | Don't plan to replace them; measure what slicetest would add | | Many branches of internal logic to cover | Unit tests first | | The UI, or a real identity provider or external API | Browser E2E, or a check against the real service, alongside |

Not measured yet: whether it is faster than other setups, cheaper to maintain, or stable over long use on real projects. The one comparison made so far (the same nine checks on a Spring Boot app, written with JUnit + Testcontainers + WireMock and with slicetest; run times, flaky runs, injected faults, and what each failure shows) is in examples/comparison, with its limits: one machine, one small app, both suites by one author. The speeds quoted below are narrow measurements, with their conditions.

The database is reset between scenarios with TRUNCATE ... RESTART IDENTITY CASCADE over every table, and the app keeps its connections, so this works with any driver or ORM. In the spike that chose this (TRUNCATE polls RESTART IDENTITY: one table, no CASCADE, 20 runs, median, a Postgres container on a laptop) the reset took 1.5 ms; dropping and re-creating the database took about 130 ms and crashed some apps when their pooled connections were cut. That is the reset step alone, not the time of a test run, and it wasn't measured with more tables. Since the table list is now read at every reset, a later check on three small tables (same machine, 300 resets) took 1.4 ms for the TRUNCATE alone and 2.0 ms with the list. Of the app's own state, only what is in the database is reset by default: whatever the app keeps in memory or does in the background survives into the next scenario unless you say otherwise (state between scenarios).

Quick start…

Description from the npm listing.

  • testing
  • integration-testing
  • slice-test
  • api-testing
  • postgres
  • mysql
  • sqlite
  • stub
  • mock-server
  • vitest
  • vitest-plugin
  • yaml
  • testcontainers
  • language-agnostic
  • openapi
  • contract-testing
  • graphql
  • jwt
  • oidc
  • webhooks

Where slicetest sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 89, #17 (overall #1777)
All npm: every listing in weekly downloads order
PNG SVG
Testing21 listings · 2 pages · page 1, #9 (overall #9)
Testing: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

slicetest weekly downloads on npm, last 90 days: 36 weekly downloads as of Oct 17, 2026.slicetestWeekly downloads on npm · Last 90 days36downloads / week02004006008001K1.2K1.4K1.6K1.8KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
slicetest weekly downloads on npm, last 90 days: 36 weekly downloads as of Oct 17, 2026.
PNG SVG

7/30/90-day growth

slicetest weekly downloads growth on npm: -89.7% over 7 days, 30-day growth unavailable, 90-day growth unavailable.slicetestWeekly downloads growth on npm36downloads / week now7-day growth-314 weekly downloads-89.7%30-day growth+36 weekly downloadsInsufficient history90-day growth+36 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
slicetest weekly downloads growth on npm: -89.7% over 7 days, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

slicetest npm ranking history: currently #1776 (by weekly downloads).slicetestnpm ranking · by weekly downloads · Last 90 days#1776current rank#600#800#1000#1200#1400#1600#1800Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
slicetest npm ranking history: currently #1776 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (543)
Recent weekly downloads observations for slicetest
Date (UTC)Weekly downloadsChange vs. previous
36-183
219+2
217-9
226-8
2340
234-80
314-36
350-345
695-50
745-607
1,352-193
1,545-193
1,738+91
1,647—

Similar npm Testing plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/slicetest. First seen Oct 16, 2026; last successful collection Oct 17, 2026. See the methodology.