
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
qunit-special-blend
Advanced tools
A QUnit plugin/hack/wrapper which allows the user to designiate single tests or modules to run.
Ever want to run a single qunit test from your test suite with your preferred test runner? Yeah, so did I.
This plugin/wrapper/npm module/hack was created to allow you to run a single qunit test or module with either karma or testem test runners.
npm install qunit-special-blend
After the package is installed configure your files array in karma.conf.js or src_files in testem.josn as
follows:
files: [
/* The special blend */
'node_modules/qunit-special-blend/qunit-special-blend.js',
/* App and test files here */
'your/app/js/*.js',
'your/tests/*.js',
/* Run the special blend */
'node_modules/qunit-special-blend/run-qunit-special-blend.js'
],
You will now be able to use three new functions in your tests.js files
singleTestsingleModulesingleAsyncTest
in addition to the regular qunit test and module methods.If you don't have any of the new methods in your test files all tests will run as usual. If you have used the new methods only those tests will run.
I don't want to change test to singleTest and back all the time in my tests
file, because this is supposed to make things faster and easier after all. I
also happen to use Vim so I have written the vim-qunit-special-blend
plugin that leverages the functionality provided by this npm module to run
single tests but allows you to do it without altering your test code.
FAQs
A QUnit plugin/hack/wrapper which allows the user to designiate single tests or modules to run.
The npm package qunit-special-blend receives a total of 13 weekly downloads. As such, qunit-special-blend popularity was classified as not popular.
We found that qunit-special-blend demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.