{"library":"blue-tape","type":"library","category":null,"description":"blue-tape is a thin wrapper around the `tape` test runner, designed to integrate promise-based asynchronous testing seamlessly. Released as version 1.0.0 approximately ten years ago, this library automatically handles returned promises from test functions, eliminating the need for explicit `t.plan()` or `t.end()` calls. It also introduces a `t.shouldFail()` assertion (aliased as `t.shouldReject`) for robustly testing promise rejections, optionally asserting on the error type or message. While it provided valuable functionality for promise-driven tests, the project is officially no longer maintained, making it an abandoned solution for modern development workflows. Developers are advised to seek actively maintained alternatives for promise support in `tape` or other testing frameworks. It primarily targets Node.js environments and uses CommonJS module syntax.","language":"javascript","status":"abandoned","version":"1.0.0","tags":["javascript","tape","bluebird","promises"],"last_verified":"Wed May 27","install":[{"cmd":"npm install blue-tape","imports":["const test = require('blue-tape');","test('description', t => { t.ok(true); });","test('should fail', async t => { await t.shouldFail(promiseThatRejects()); });"]},{"cmd":"yarn add blue-tape","imports":[]},{"cmd":"pnpm add blue-tape","imports":[]}],"homepage":null,"github":"https://github.com/spion/blue-tape","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/blue-tape","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/blue-tape/compatibility"}}