UNPKG

informixdb

Version:

Informix native node.js driver

32 lines (24 loc) 1.18 kB
Node-informixdb Test Suite Connection info must be specified in the environment. For example, by sourcing the following ENV Vars: export IFX_SERVER=<Database Server> export IFX_DBNAME=<Database Name> export IFX_UID=<Username> export IFX_PWD=<Password> export IFX_HOSTNAME=<Hostname or IP> export IFX_SERVICE=<Database Port> OR, If not using ENV Vars,Update connection info in informixdb/test/config.testConnectionStrings.json file. Connection info set in ENV vars will take priority over connection info in config.testConnectionStrings.json file, if connection info is set at both places. The test suite needs the 'moment' module to be installed ('npm install moment'). To run the whole set run 'node run-tests.js' informix@irk21:/usr3/products/informixdb/test$ node run-tests.js Running test for [Informix] : test-all-data-types ... success Running test for [Informix] : test-bad-connection-string ... success Running test for [Informix] : test-basic-test ... success Running test for [Informix] : test-binding-connection-timeOut ... success Running test for [Informix] : test-binding-statement-executeSync ... success ....