Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@bitdiver/runner-server
Advanced tools
@bitdiver/runner-server / Exports
This test runner is executing the tests. There are two general execution modes. In the normal mode it will executes the first test case with all its steps. Then the next test case. In the parallel mode it executes the firts step for all the test cases and then the next step.
Excution mode "normal"
The following pictures shows the test execution for a normal flow:
Excution mode "paralell"
In this mode it first executes the first step for all the test cases.
This mode has a special feature for steps affects all tests. Lets assume there is a step which clears the data base. This will affect all test cases. For these kind of steps there is something called 'SingleStep'.
The following pictures shows a 'SingleStep' for step 3.
This is always the first question. Why schould I use such a runner?
This runner was developed to test system which have are having batch executions or long running steps. Lets assume there is a sytem which creates billing information. And the billing runs for 20 minutes. Regardless if you have one customer or 100 customers. If you test this system one test case after an other you always have these 20 minutes delay. But when you first insert all customers for each test cases and then inserts all the events for all customers and then you start the billing, it will also have these 20 minutes delay, but only once.
An other case is where you need to test a system in real time. So you do something and then have to wait two minutes for what ever reason, then do the next step and have to wait again. Then it makes sence to use this runner. One of the case where it was used is to simulate trains driving from one station to an other. So the runner is driving many trains in parallel. One train per test case. But for each train there a timings when reaching a station, wait at the station and then starts to the next.
FAQs
My great XXX Lib
The npm package @bitdiver/runner-server receives a total of 6 weekly downloads. As such, @bitdiver/runner-server popularity was classified as not popular.
We found that @bitdiver/runner-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.