Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitdiver/runner-server

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitdiver/runner-server - npm Package Compare versions

Comparing version 2.2.9 to 3.0.0

dist/src/index.d.ts

135

package.json
{
"name": "@bitdiver/runner-server",
"version": "2.2.9",
"description": "",
"main": "lib/index.js",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitdiver/runner-server.git"
},
"bugs": {
"url": "https://github.com/bitdiver/runner-server/issues"
},
"homepage": "https://github.com/bitdiver/runner-server#readme",
"scripts": {
"build": "npm run src_format && npm run src_lint && babel src -d lib",
"src_lint": "eslint src tests",
"src_format": "prettier --no-semi --single-quote --trailing-comma es5 --write \"{src,tests}/**/*.js\"",
"test_only": "jest",
"test": "npm run build && jest -c jest.config.json",
"test-manual": "npm run src_format && npm run src_lint && npm run build && babel-node tests/ProgressBarConsoleManual.js",
"debug-manual": "npm run src_format && npm run src_lint && npm run build && babel-node --inspect-brk tests/ProgressBarConsoleManual.js",
"debug": "npm run build && node --inspect-brk ./node_modules/.bin/jest -i --config=./jest.config.json",
"prepare": "npm run build"
},
"contributors": [
{
"name": "Torsten Link",
"email": "torstenlink@gmx.de"
},
{
"name": "Markus Felten",
"email": "markus.felten@gmx.de"
}
],
"license": "ISC",
"devDependencies": {
"@babel/cli": "7.14.8",
"@babel/core": "7.14.8",
"@babel/node": "7.14.7",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.14.8",
"@babel/register": "7.14.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "27.0.6",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.31.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-babel": "5.3.1",
"jest": "27.0.6",
"jest-cli": "27.0.6",
"jest-environment-node-debug": "2.0.0",
"mkdirp": "1.0.4",
"prettier": "2.3.2",
"regenerator-runtime": "0.13.9",
"rimraf": "3.0.2",
"semantic-release": "17.4.4"
},
"dependencies": {
"@babel/runtime": "7.14.8",
"@bitdiver/definition": "2.0.5",
"@bitdiver/logadapter": "1.4.6",
"@bitdiver/model": "2.0.5",
"moment": "2.29.1",
"p-all": "3.0.0",
"sprintf-js": "1.1.2",
"ts-progress": "0.1.7",
"uuid": "^8.3.2"
}
"name": "@bitdiver/runner-server",
"version": "3.0.0",
"description": "My great XXX Lib",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/bitdiver/runner-server.git"
},
"bugs": {
"url": "https://github.com/bitdiver/runner-server/issues"
},
"homepage": "https://github.com/bitdiver/runner-server#readme",
"scripts": {
"build": "npm run format && npm run lint && rimraf dist && tsc && depcheck",
"build:debug": "npm run format && npm run lint && rimraf dist && tsc --sourceMap true",
"debug": "npm run build:debug && node -r ts-node/register --inspect-brk ./node_modules/.bin/jest -i --config=./jest.config.js",
"doc": "npm run docPdf && npm run docDocbook && npm run doc2md && npm run docApi && npx xhubio-scripts-lib replaceImageLinks",
"doc2md": "pandoc -f docbook -t markdown_strict docTmp/index.xml -o README.md",
"docApi": "npx typedoc --plugin typedoc-plugin-markdown",
"docDocbook": "asciidoctor -a ./node_modules/.bin/mmdc -r asciidoctor-diagram -b docbook5 doc/index.adoc -o docTmp/index.xml",
"docPdf": "asciidoctor-pdf -a ./node_modules/.bin/mmdc -r asciidoctor-diagram doc/index.adoc -o docTmp/index.pdf",
"format": "prettier --write \"{src,tests}/**/*.{js,ts,yml}\"",
"lint": "eslint \"{src,tests}/**/*.{js,ts}\"",
"test": "npm run build && jest -c jest.config.js",
"test:only": "jest -c jest.config.js",
"xhubioUpdate": "npx xhubio-scripts-lib xhubioUpdate"
},
"contributors": [
{
"name": "Torsten Link",
"email": "torstenlink@gmx.de"
}
],
"license": "MIT",
"devDependencies": {
"@types/luxon": "3.1.0",
"@types/p-all": "2.0.0",
"@types/uuid": "9.0.0",
"@xhubio/build-base": "1.0.55",
"mkdirp": "1.0.4",
"rimraf": "^3.0.2"
},
"dependencies": {
"@bitdiver/definition": "3.0.2",
"@bitdiver/logadapter": "2.0.3",
"@bitdiver/model": "3.1.0",
"luxon": "3.1.1",
"p-all": "3.0.0",
"ts-progress": "0.1.7",
"uuid": "9.0.0"
},
"keywords": [
"build",
"typescript"
],
"files": [
"dist/src/**/*"
]
}

@@ -0,3 +1,48 @@

@bitdiver/runner-server / [Exports](docApi/modules.md)
# Runner Server
[![Greenkeeper badge](https://badges.greenkeeper.io/bitdiver/runner-server.svg)](https://greenkeeper.io/)
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:
![ExecutionNormal](doc/images/ExecutionNormal.svg)
Excution mode "paralell"
In this mode it first executes the first step for all the test cases.
![ExecutionParalell](doc/images/ExecutionParalell.svg)
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.
![ExecutionParalellSingleStep](doc/images/ExecutionParalellSingleStep.svg)
## Why do I need this?
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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc