
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
testcafe-reporter-db
Advanced tools
This is the db reporter plugin for TestCafe.
npm install testcafe-reporter-db
In order to use the reporter correctly, you have to edit or create the .env file, by adding the following required environment variables:
Database connection details /play 56k
TESTCAFEREPORTER_DB_USERNAME=
TESTCAFEREPORTER_DB_PASS=
TESTCAFEREPORTER_DB_HOST=
Database and table details
TESTCAFEREPORTER_DB_DB=
TESTCAFEREPORTER_DB_RUN_RESULTS_TABLE=
TESTCAFEREPORTER_DB_TEST_TABLE=
Tescafe Reporter configuracion. If you are interested in store each test result, you should use 1. If you are interested in store only failed results, the value should be 0.
TESTCAFEREPORTER_DB_TESTSTORED=
TESTCAFEREPORTER_DB_DEVICE=
TESTCAFEREPORTER_DB_BROWSER=
TESTCAFEREPORTER_DB_ENV=
TESTCAFEREPORTER_DB_OTHER_RUN=
TESTCAFEREPORTER_DB_OTHER_TEST=
Fields:
Field | Type | Lenght | Allow Null | Extra |
---|---|---|---|---|
id | Int | 11 | No | auto_increment |
date | Datetime | No | auto_increment | |
run_number | Int | 11 | No | None |
run_result | Varchar | 1 | No | None |
test_total | Int | 4 | No | None |
test_passed | Int | 4 | No | None |
test_failed | Int | 4 | No | None |
test_skipped | Int | 4 | No | None |
test_duration | Varchar | 10 | No | None |
test_device | Varchar | 50 | Yes | None |
test_browser | Varchar | 150 | Yes | None |
test_environment | Varchar | 50 | Yes | None |
test_other_1 | Varchar | 50 | Yes | None |
Field | Type | Lenght | Allow Null | Extra |
---|---|---|---|---|
id | Int | 11 | No | auto_increment |
run_number | Int | 11 | No | None |
fixture_name | Varchar | 1000 | No | None |
test_name | Varchar | 1000 | No | None |
test_result | Int | 1 | No | None |
test_other | Varchar | 100 | No | None |
When you run tests from the command line, specify the reporter name by using the --reporter
option:
testcafe chrome 'path/to/test/file.js' --reporter db
When you use API, pass the reporter name to the reporter()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('chrome')
.reporter('db') // <-
.run();
This project is licensed under the MIT License - see the LICENSE.md file for details
+Based on testcafe-reporter-list+
FAQs
db TestCafe reporter plugin.
The npm package testcafe-reporter-db receives a total of 1 weekly downloads. As such, testcafe-reporter-db popularity was classified as not popular.
We found that testcafe-reporter-db 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.