Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
prescript is a Node.js-based test runner that helps make it fun to write end-to-end/acceptance tests.
Writing functional and end-to-end tests (e.g. using Puppeteer or Selenium) with unit-testing frameworks such as Mocha can sometimes be painful, because when one step failed, you have to re-run the test from the beginning to verify that you fixed it. End-to-end tests is usually very slow compared to unit tests.
prescript solves this problem by allowing you to express your tests as multiple, discrete steps. prescript then comes with an interactive development mode, in which you can hot-reload the test script and jump between steps.
This means as you run your tests as you write it. And if you make a mistake you can fix your test, hot reload, and continue testing, without having to re-run the whole test suite.
Documentation is available on our website.
Running Prescript example scenarios:
yarn test-examples
Running individual scenario:
./bin/prescript "./examples/calculator/tests/Basic addition (page object).js"
Running unit tests:
yarn test
FAQs
Object-oriented acceptance test tool
The npm package prescript receives a total of 332 weekly downloads. As such, prescript popularity was classified as not popular.
We found that prescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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 initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.