README
k-test (OperationClassification node-cjs)
Show CLI information (1)
Show internal (5)
runTestsForOperation(operationName) runs all tests that can be found in an operation. nicely logs and returns which funtions are working or not and why
this assumes the index file exports all tests under the test
constant, which should be done using this framework
this also assumes your tests are exported from build/index.js (which means you need to build your code, not transpile, so it's not possible for every type of operation)
Input | ||
---|---|---|
operationName | string | |
Output |
run tests and log the results.
input: Test
output: isAllValid (boolean)
Input | ||
---|---|---|
- | ||
Output |
runTestsForOperation(operationName) runs all tests that can be found in an operation. nicely logs and returns which funtions are working or not and why
this assumes the index file exports all tests under the test
constant, which should be done using this framework
this also assumes your tests are exported from build/index.js (which means you need to build your code, not transpile, so it's not possible for every type of operation)
run tests and log the results.
input: Test
output: isAllValid (boolean)
test for example function
README
k-test (OperationClassification node-cjs)
Show CLI information (1)
Show internal (5)
runTestsForOperation(operationName) runs all tests that can be found in an operation. nicely logs and returns which funtions are working or not and why
this assumes the index file exports all tests under the test
constant, which should be done using this framework
this also assumes your tests are exported from build/index.js (which means you need to build your code, not transpile, so it's not possible for every type of operation)
Input | ||
---|---|---|
operationName | string | |
Output |
run tests and log the results.
input: Test
output: isAllValid (boolean)
Input | ||
---|---|---|
- | ||
Output |
runTestsForOperation(operationName) runs all tests that can be found in an operation. nicely logs and returns which funtions are working or not and why
this assumes the index file exports all tests under the test
constant, which should be done using this framework
this also assumes your tests are exported from build/index.js (which means you need to build your code, not transpile, so it's not possible for every type of operation)
run tests and log the results.
input: Test
output: isAllValid (boolean)
test for example function