![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
cukestall
Advanced tools
Readme
DISCLAIMER This project is at its experimental stage. It's not tested and might be buggy.
A Cucumber.js runner for browsers Node.js middleware.
CukeStall lets you run a Cucumber feature suite against a Node.js web application right from your web browser.
Plug CukeStall connect middleware into your app to serve it to the browser:
var connect = require('connect');
var CukeStall = require('cukestall');
var app = connect();
app.use(connect.logger('test'));
// your app code goes here ...
app.use(CukeStall.runner({
features: [__dirname + '/features/my.feature'],
require: [__dirname + '/features/step_definitions/stepdefs.js', __dirname + '/features/support/cukestall.js']
}));
app.listen(1337);
Your application is now running normally at localhost:1337 and CukeStall is reachable on localhost:1337/cukestall.
It is common to perform "short-circuit" actions from within step definitions and hooks. For example, you might need to wipe out the whole database before every scenario. To do so, you can use backdoors.
Backdoors are routes added on top of your existing application.
app.use(CukeStall.runner({
features: [__dirname + '/features/my.feature'],
require: [__dirname + '/features/step_definitions/stepdefs.js', __dirname + '/features/support/cukestall.js']
backdoors: {
reset_all: function (req, res, next) {
// this backdoor will allow a step definition on the browser side
// to empty the database:
MyDb.dropAll();
res.end("DB emptied.");
}
}
}));
The backdoor can be triggered by POSTing to localhost:1337/cukestall/reset_all
:
// features/support/cukestall.js
this.Before(function (callback) {
$.post('/cukestall/reset_all', null, function (results, textStatus, jqXHR) {
callback();
});
});
FAQs
Cucumber.js in-browser runner
The npm package cukestall receives a total of 3 weekly downloads. As such, cukestall popularity was classified as not popular.
We found that cukestall 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.