Skip to content

Instantly share code, notes, and snippets.

@fritzy
Created February 16, 2016 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fritzy/bc4006821f9baf43c4ce to your computer and use it in GitHub Desktop.
Save fritzy/bc4006821f9baf43c4ce to your computer and use it in GitHub Desktop.
[claptrap] ~/projects/node/seaquell 10:18 AM 89% [master ●]
$ npm test
> seaquell@0.17.1 test /Users/fritzy/projects/node/seaquell
> lab -a code -c -v
testing functions
✔ 1) create temp table proc (737 ms)
✔ 2) create user defined table proc (477 ms)
✔ 3) create get table proc (215 ms)
✔ 4) create select from value (212 ms)
✔ 5) create get table proc2 (216 ms)
✔ 6) create multiresults proc (216 ms)
✔ 7) create super multiresults proc (216 ms)
✔ 8) loaded statements (1 ms)
✔ 9) loading stored procs (212 ms)
✔ 10) map many result sets (549 ms)
✔ 11) bad mapping of result sets (104 ms)
✔ 12) static procedure (104 ms)
✔ 13) instance procedure (105 ms)
✔ 14) static statement (107 ms)
✔ 15) instance statement (103 ms)
✔ 16) static query (106 ms)
✔ 17) instance query (105 ms)
✔ 18) multi static statment (157 ms)
✔ 19) unfound static statment (145 ms)
✔ 20) single static statment (104 ms)
✔ 21) join multi collection (529 ms)
✔ 22) join multi model (515 ms)
✔ 23) get model (0 ms)
✔ 24) bad MapQuery (3 ms)
✔ 25) bad mapStatement (0 ms)
✔ 26) bad mapProcedure (1 ms)
✔ 27) bad query (1 ms)
✔ 28) queryResults error (0 ms)
✔ 29) processArgs static (116 ms)
✔ 30) processArgs instance (110 ms)
✔ 31) no args statement (102 ms)
✔ 32) custom type static (131 ms)
✔ 33) more than one result from query (109 ms)
✔ 34) get no results on oneResult:true (126 ms)
✔ 35) custom type method (514 ms)
✔ 36) bad prepared statement (110 ms)
✔ 37) bad arguments in statement (1 ms)
✔ 38) inDB outDB processor (617 ms)
✔ 39) null TVP (104 ms)
✔ 40) disconnect (107 ms)
40 tests complete
Test duration: 7396 ms
Assertions count: 53 (verbosity: 1.32)
No global variable leaks detected
Coverage: 100.00%
[claptrap] ~/projects/node/seaquell 10:18 AM 89% [master ●]
$ npm i --save mssql
npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/fritzy/local/bin/node" "/Users/fritzy/local/bin/npm" "i" "--save" "mssql"
npm ERR! node v5.6.0
npm ERR! npm v3.7.2
npm ERR! No compatible version found: mssql@^2.6.2
npm ERR! Valid install targets:
npm ERR! 3.1.0, 3.0.1, 3.0.0, 2.5.0, 2.4.0, 2.3.2, 2.3.1, 2.3.0, 2.2.1, 2.2.0, 2.1.8, 2.1.7, 2.1.6, 2.1.5, 2.1.4, 2.1.3, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.3.0, 1.2.1, 1.2.0, 1.1.1, 1.1.0, 1.0.2, 1.0.1, 1.0.0, 0.6.2, 0.6.1, 0.6.0, 0.5.5, 0.5.4, 0.5.3, 0.5.2, 0.5.1, 0.5.0, 0.4.5, 0.4.4, 0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0
[claptrap] ~/projects/node/seaquell 10:19 AM 89% [master ●]
$ npm i --save mssql@3.1.0
seaquell@0.17.1 /Users/fritzy/projects/node/seaquell
└─┬ mssql@3.1.0
├── generic-pool@2.4.0
└─┬ tedious@1.13.2
├── babel-runtime@5.8.35
└── bl@1.1.2
[claptrap] ~/projects/node/seaquell 10:19 AM 89% [master ●]
$ npm test
> seaquell@0.17.1 test /Users/fritzy/projects/node/seaquell
> lab -a code -c -v
testing functions
✔ 1) create temp table proc (662 ms)
✔ 2) create user defined table proc (426 ms)
✔ 3) create get table proc (211 ms)
✔ 4) create select from value (210 ms)
✔ 5) create get table proc2 (215 ms)
✔ 6) create multiresults proc (214 ms)
✔ 7) create super multiresults proc (217 ms)
✔ 8) loaded statements (1 ms)
✔ 9) loading stored procs (215 ms)
✔ 10) map many result sets (541 ms)
✔ 11) bad mapping of result sets (104 ms)
✔ 12) static procedure (105 ms)
✔ 13) instance procedure (104 ms)
✔ 14) static statement (104 ms)
✔ 15) instance statement (104 ms)
✔ 16) static query (104 ms)
✔ 17) instance query (104 ms)
✔ 18) multi static statment (108 ms)
✔ 19) unfound static statment (109 ms)
✔ 20) single static statment (105 ms)
✔ 21) join multi collection (518 ms)
✔ 22) join multi model (515 ms)
✔ 23) get model (0 ms)
✔ 24) bad MapQuery (3 ms)
✔ 25) bad mapStatement (1 ms)
✔ 26) bad mapProcedure (0 ms)
✔ 27) bad query (1 ms)
✔ 28) queryResults error (0 ms)
✔ 29) processArgs static (112 ms)
✔ 30) processArgs instance (106 ms)
✔ 31) no args statement (107 ms)
✔ 32) custom type static (108 ms)
✔ 33) more than one result from query (105 ms)
✔ 34) get no results on oneResult:true (103 ms)
✔ 35) custom type method (516 ms)
✔ 36) bad prepared statement (106 ms)
✔ 37) bad arguments in statement (0 ms)
✔ 38) inDB outDB processor (615 ms)
✔ 39) null TVP (104 ms)
✔ 40) disconnect (104 ms)
40 tests complete
Test duration: 7094 ms
Assertions count: 53 (verbosity: 1.32)
No global variable leaks detected
Coverage: 100.00%
[claptrap] ~/projects/node/seaquell 10:21 AM 89% [master ●]
$ git commit -am "updated to mssql 3.1.0"
[master a7217b9] updated to mssql 3.1.0
1 file changed, 1 insertion(+), 1 deletion(-)
[claptrap] ~/projects/node/seaquell 10:21 AM 89% [master ●↑]
$ npmminor
v0.18.0
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 573 bytes | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)
To git@github.com:fritzy/seaquell.git
ed7acbb..9f7ca91 master -> master
+ seaquell@0.18.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment