vitest-plugin-context weekly downloads statistics
By OutOfOrder (3 listings) · npm · Testing
Exposes a context alias for describe to vitest.
vitest-plugin-context has 0 recorded weekly downloads on npm, a decrease of 100% over the past 30 days.
It ranks #2247 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -100%.
PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.
About vitest-plugin-context
vitest-plugin-context
Adds context as an alternative to describe for vitest
Getting Started
Install vitest-plugin-context using yarn:
Motivation
RSpec took the ruby world by storm with its declarative method of TDD. In RSpec, describe it used to wrap a set of tests against one functionality while context is to wrap a set of tests against one functionality under the same state.
The difference being you should only describe to test the User model and specifically describe the #name method. However, testing different states of the #name method should use different context. You can view an example of this below.
Usage
If you want, you can import context from vitest-plugin-context at the top of every test:
If you want to install context as a global, you can modify the test section of your vitest.config.js to include:
Example
Here's an example test that uses context and set:
Description from the npm listing.
- context
- vitest
- vitest-plugin
- plugin
- test
Where vitest-plugin-context 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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)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/vitest-plugin-context. First seen Oct 16, 2026; last successful collection Oct 16, 2026. See the methodology.