Comments (4)
Original comment by Xu Meng (Bitbucket: mengxumx, GitHub: dmabupt).
I have added a basic test script in the test directory. It is based on Mocha.
from nodejs-itoolkit.
I am currently working on mocha unit tests for:
- iConn Class
- iDataQueue Class
- iObj Class
- iPgm Class
- iSql Class
- iUserSpace Class
- iWork Class
- iProd Class
- iNetwork Class
from nodejs-itoolkit.
Kicked this off with PR #34.
Its a good start but some functional tests can be improved by not only checking the existence of properties but also validating the values.
In some cases the values are dynamic we should try to ensure it matches and expected pattern or explore other options.
from nodejs-itoolkit.
Closing this because #34 adds unit and functional tests
from nodejs-itoolkit.
Related Issues (20)
- Can DB2 transport method handle 300 to 500 requests at any given instance ? HOT 3
- SSH transport should support other use cases (validate fingerprints, keys, agents, etc.) for security HOT 4
- Return a better error when optional deps are not found HOT 1
- Investigate supporting Promises and Callbacks HOT 3
- iDataQueue - receiveFromDataQueue - I need a loop and a wait
- eslint action fails
- Update Mocha and Eslint to the latest versions HOT 1
- Update ssh2 to the latest version HOT 1
- Documentation needs to be completed - var types not defined in here. HOT 2
- *OMIT not supported HOT 28
- Change documentation to recommend a different XML parser HOT 10
- Docs Failed to build HOT 1
- Remove use of xml2js
- Handle failing integration tests
- Upgrade minimum node engine? HOT 3
- Add npm publish GitHub action
- Add changes to allow mode=OPM|ILE to be passed on to xmlservice from itoolkit HOT 1
- Fix license headers on source files
- NEW CASE FOR IBMi : *CURRENT for user profile and password is not accepted . HOT 6
- ProgramCall - Function that returns a packed variable HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejs-itoolkit.