[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

How NodeJS tests execution looks like?

Because asynchronous nature of NodeJS operation, on Windows console you can expect something like:
'test[nodeJS] 004 Using File system'
In prologue
Starting nodeJS tests...
'test[nodeJS] 004 Using File system'
002 Accesing to global agent with #globalAgent
OK->002 Accesing to global agent with #globalAgent
'test[nodeJS] 004 Using File system'
001 Creating a server with #createServer
001 Creating a server with #createServer:
'test[nodeJS] 004 Using File system'
Evaluating first chunk of the nodeJS test set
// evaluating... test[nodeJS] index
'test[nodeJS] 004 Using File system'
004-0 Write files with #writeFile:data:with:
004-1 Reading files with #readFile:options:with:
004-2 Version 2: Reading files with #readFile:options:with:
004-3 Reading files with #readFile:with:
004-4 Reading files with #readFileSync:
OK-> 004-4 Reading 0 characters
004-5 Reading filess with #readFileSync:options
OK-> 004-5 Reading 0 characters
004-6 Reading folder with #readdir:with:
004-7 Reading folder with #readdirSync:
OK-> 004-7 Reading folder ./ assets,bin,build,build.sh,console64,default.snapsho
t.js,iOS,JX8,JX8.exe,jx8.framework.json,JX8.jxp,JX8_default.snapshot.js,Lab_defa
ult.snapshot.js,License.txt,node_modules,Notes.txt,ReadMe.txt,rebuildAll.bat,sam
ple.txt,u8,_help.bat,_pack.bat,_packTest.bat,_sample42.txt
004-8 Opening,closing files with #open:flags:mode:with: #closeSync:
OK-> 004-8 Succesfull opening & closing file sample.txt
004-9 Opening,closing files with #open:flags:mode:with: #close:with:
OK-> 004-9 Succesfull opening & closing file sample.txt
004-10 Opening,closing files with #open:flags:mode:with: #close:
OK-> 004-10 Succesfull opening & closing file sample.txt
004-11 Opening,closing files with #open:flags:with: #closeSync:
OK-> 004-10 Succesfull opening & closing file sample.txt
004-11 Opening,closing files with #openSync:flags: #closeSync:
OK-> 004-11 Succesfull opening & closing file sample.txt
004-12 Opening,closing files with #openSync:flags:mode: #closeSync:
OK-> 004-12 Succesfull opening & closing file sample.txt
004-13 Reading files with #read:buffer:offset:length:position:with: and #fstat:w
ith:
OK-> 004-13 Succesfull reading file sample.txt
004-14 Reading files with #readSync:buffer:offset:length:position: and #fstat:wi
th:
OK-> 004-14 Succesfull reading file sample.txt
004-15 Reading device info with #fstatSync:
OK-> 004-16 Succesfull reading sample.txt stats
004-16 Reading device info with #stat:with:
OK-> 004-16 Succesfull reading sample.txt stats
004-17 Reading device info with #statSync:
004-17 sample.txt has 0 bytes
OK-> 004-17 Succesfull reading sample.txt stats
004-18 Writing files with #appendFile:data:options:with:
OK-> 004-18 Writing file sample.txt
004-19 Writing files with #appendFile:data:options:with: v2
OK-> 004-19 Writing file sample.txt
004-20 Writing files with #appendFile:data:with:
OK-> 004-20 Writing file sample.txt
004-21 Writing files with #appendFile:data:with: v2
OK-> 004-21 Writing file sample.txt
004-22 Writing files with #appendFileSync:data:options:
OK-> 004-22 Writing file sample.txt
004-23 Writing files with #appendFileSync:data:options: v2
OK-> 004-23 Writing file sample.txt
004-24 Writing files with #appendFileSync:data:
OK-> 004-24 Writing file sample.txt
004-25 Writing files with #appendFileSync:data: v2
OK-> 004-25 Writing file sample.txt
004-26 Writing files with #write:buffer:offset:length:position:with:
OK-> 004-26 Succesfull writing file sample26.txt
004-27 Writing files with #write:data:position:encoding:with:
OK-> 004-27 Succesfull writing file sample27.txt
004-28 Writing files with #writeFile:data:options:with:
OK-> 004-28 Succesfull writing file sample28.txt
004-29 Writing files with #writeFileSync:data:options:
OK-> 004-29 Succesfull writing file sample29.txt
004-30 Writing files with #writeFileSync:data:
OK-> 004-30 Succesfull writing file sample30.txt
004-31 Writing files with #writeSync:buffer:offset:length:position:
OK-> 004-31 Succesfull writing file sample31.txt
004-32 Writing files with #writeSync:buffer:offset:length:
OK-> 004-32 Succesfull writing file sample32.txt
004-33 Writing files with #writeSync:data:position:encoding:
OK-> 004-33 Succesfull writing file sample33.txt
004-34 Writing files with #writeSync:data:position:
OK-> 004-34 Succesfull writing file sample34.txt
004-35 Writing files with #writeSync:data:
OK-> 004-35 Succesfull writing file sample35.txt
004-36 Creating folders with #mkdir:with:
OK-> 004-36 Succesfull creating folder TestFOLDER1
004-37 Creating folders with #mkdir:mode:with:
OK-> 004-37 Succesfull creating folder TestFOLDER2
004-38 Creating folders with #mkdirSync:mode:
OK-> 004-38 Succesfull creating folder TestFOLDER3
004-39 Creating folders with #mkdirSync:
OK-> 004-39 Succesfull creating folder TestFOLDER4
004-40 Flushing data with #fsync:with:
OK-> 004-40 Succesfull flushing data for file sample40.txt
004-41 Flushing data with #fsyncSync:
OK-> 004-41 Succesfull flushing data for file sample41.txt
004-42 Renaming files with #rename:to:with:
OK-> 004-42 Succesfull Renaming file sample42.txt to _sample42.txt
004-101 Reading device info with #lstat:with:
OK-> 004-101 Succesfull reading sample.txt stats
004-102 Reading device info with #lstatSync:
004-102 sample.txt has 52 bytes
OK-> 004-102 Succesfull reading sample.txt stats
004-103 Deleting folders with #rmdir:with:
OK-> 004-103 Succesfull deleting folder TestFOLDER1
004-104 Deleting folders with #rmdirSync:
OK-> 004-104 Succesfull deleting forlders TestFOLDER2,TestFOLDER3,TestFOLDER4
'test[nodeJS] 004 Using File system'
003-1 Doing simple request with #request:with:
OK->003-1 Doing simple request with #request:with:
003-2 Doing simple request with #get:with:
OK->003-2 Doing simple request with #get:with:
003-3 Doing simple request with #get:. Only for testing purpose.
OK->003-3 Doing simple request with #get:
003-4 Posting data with #end:
OK->003-4 Posting data with #end:
003-5 Posting data with #end:encoding:
OK->003-5 Posting data with #end:encoding:
003-6 Posting data with #end:encoding:with:
OK->003-6 Posting data with #end:encoding:with:
003-7 Posting data with #write: #end
OK->003-7 Posting data with #write: #end
003-8 Posting data with #write:encoding: #end
OK->003-8 Posting data with #write:encoding: #end
003-9 Posting data with #write:encoding:with: #end
OK->003-9 Posting data with #write:encoding:with: #end
003-10 Aborting a request
OK->003-10 Aborting a request
003-11 Doing request with #setNoDelay
OK->003-11 Doing request with #setNoDelay
003-12 Doing request with #setNoDelay:
OK->003-12 Doing request with #setNoDelay:
003-13 Doing request with #setSocketKeepAlive:
OK->003-13 Doing request with #setSocketKeepAlive:
003-14 Doing request with #setSocketKeepAlive:initialDelay:
OK->003-14 Doing request with #setSocketKeepAlive:initialDelay:
003-15 Doing request with #setTimeout:
OK->003-15 Doing request with #setTimeout:
003-16 Doing request with #setTimeout:with:
OK->003-16 Doing request with #setTimeout:with:
OK-> 004-6 Reading folder ./ assets,bin,build,build.sh,console64,default.snapsho
t.js,iOS,JX8,JX8.exe,jx8.framework.json,JX8.jxp,JX8_default.snapshot.js,Lab_defa
ult.snapshot.js,License.txt,node_modules,Notes.txt,ReadMe.txt,rebuildAll.bat,sam
ple.txt,u8,_help.bat,_pack.bat,_packTest.bat,_sample42.txt
004-15 sample.txt has 52 bytes
004-16 sample.txt has 0 bytes
004-101 sample.txt has 52 bytes
004-9 Async close executed
OK-> 004-0 Writing file sample.txt
OK-> 004-2 Reading 52 characters
OK-> 004-1 Reading 52 characters
OK-> 004-3 Reading 52 characters
OK 003-16 Time out reached