Edward Vielmetti
005a98d020
Update for node 4 testing.
...
Changes to .travis.yml
Patch from @dceejay to make a test portable
Patch from @dceejay to correct a case where an int was expected
2015-09-23 15:27:45 -04:00
Dave Conway-Jones
b555b014b8
Update debug test to check lengths...
2015-08-12 21:56:19 +01:00
Dave Conway-Jones
60539d890b
Fix File node check of msg.payload to close #700
...
Also add feature to allow creation of directory(ies) if path to file
does not exist.
2015-07-10 14:59:23 +01:00
Nick O'Leary
39df80bf99
Fix exec test to restart helper server before each test
2015-07-05 23:02:10 +01:00
Nick O'Leary
5522e57f65
More node i18n tidy-up
2015-07-02 10:49:38 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
Dave Conway-Jones
9f0b3eba47
Add basic exec node test
2015-06-22 08:26:38 +01:00
Dave Conway-Jones
5813a91244
adjust timing on file tail test
...
Runs cleaner on Mac
2015-06-17 22:08:53 +01:00
dceejay
6f84526364
Remove pre-req for mkdirp package.
...
(fs-extra has all the features needed already)
2015-04-14 18:41:48 +01:00
dceejay
a9a0953653
Slide timing window to left for trigger node test.
2015-04-04 22:27:25 +01:00
dceejay
255d708fb6
updates to serial, watch, websocket, udp, twitter, email to handle no payload.
2015-03-31 09:21:11 +01:00
dceejay
78d1da5fbc
Updates to sentiment, exec and range to handle missing payload properties
2015-03-31 08:35:56 +01:00
dceejay
8a96dbd121
New tests for Trigger, catch and unknown nodes
2015-03-25 21:58:26 +00:00
dceejay
8a5c1bade5
new tests for sentiment, file and csv
...
(inc a bugfix for csv :-)
tweka of 0.8 ?
temp remove buffer should equall test from file node test
comment out failing test in file node (0.8 specific fail...)
stagger multiple writes slightly in file test
2015-03-25 14:58:57 +00:00
dceejay
fcc6943f98
Extra tests for html, xml, json and tail nodes
...
(and some consistent passing of missing payloads)
2015-03-24 17:43:47 +00:00
dceejay
72a9de058d
tests for defaults in switch, change and range nodes.
2015-03-24 17:35:54 +00:00
dceejay
5352fc87ee
add extra tests to debug, delay & template
2015-03-22 09:38:42 +00:00
Nick O'Leary
b61a250d58
Debug message formatting mangling brackets
2015-03-20 22:09:58 +00:00
Nick O'Leary
f0139f9808
Add multi-rule support to Change node
2015-03-18 16:20:50 +00:00
Nick O'Leary
dd4cec84bf
Add node.send/on to Function node
2015-03-17 13:40:12 +00:00
Nick O'Leary
be61cf6a88
Add node.error handling to core nodes
2015-03-16 13:58:01 +00:00
Antoine Aflalo
0ed9f6cc4f
Adding an Object node to the sandbox of a function node
...
Permit the user of the sandbox to log using the Function Node.
Test provided and working.
Fix Display warning message in the debug log
Before they were displayed as error instead of warning
2015-03-05 09:50:11 +02:00
Nick O'Leary
b6245bdef7
Remove console.log from XML test spec
2015-02-25 14:25:37 +00:00
dceejay
2e76541fa5
Update Debug node test to "unbreak" build... oops
2015-02-10 17:31:26 +00:00
Nick O'Leary
8451c29a25
Add line/col report test
2015-02-07 19:56:22 +00:00
Nick O'Leary
0aaea1ec40
Update logging/metric system
2015-02-03 22:02:26 +00:00
hbeeken
b052324d36
Adding logging & metric recording configuration via settings
2015-02-03 19:12:09 +00:00
Nick O'Leary
f983e4da9f
Renable unit tests following logging api changes
2015-01-29 09:57:09 +00:00
hbeeken
0bfbb12211
Adding metric logging mechanism
2015-01-27 14:41:20 +00:00
dansu
68e51bb886
added tests for websocket-client
...
cleanup and prettify
2015-01-18 09:38:47 +00:00
Nick O'Leary
ffe417976c
Merge pull request #532 from hindessm/random-delay-fixes
...
Random delay fixes
2015-01-16 15:46:53 +00:00
Mark Hindess
7909ca24d3
Fix random delay in milliseconds case and change test to reproduce bug.
...
Because there was no multiplier the node.randomFirst was a string so
the later '+' was a concatentation. The test failed to catch this because
it uses integers not strings to configure the node.
2015-01-14 10:18:47 +00:00
dansu
2577631334
Added unittests for websocket node
2015-01-13 10:38:53 +01:00
Anna Thomas
ce6513e7f7
Change node can set msg property to another msg property. Closes #456
2014-10-28 15:50:50 +00:00
Nick O'Leary
53a9a5fe93
Merge pull request #422 from anna2130/debug
...
Updated debug node to output other msg properties
2014-10-20 16:35:24 +01:00
Nick O'Leary
bec4e429f9
Merge pull request #433 from anna2130/change-node-multi-level-properties
...
Change node: Multi-level properties
2014-10-20 11:12:59 +01:00
Anna Thomas
986ce8163f
Added tests to check functionality when using multi-level properties
2014-10-07 16:12:35 +01:00
Anna Thomas
2a753c9d22
Updated debug node test
2014-10-07 10:25:56 +01:00
Mark Hindess
669f3d9ba1
Fix supertest usage to correctly throw errors.
2014-09-30 14:59:37 +01:00
Nick O'Leary
00cb8d5bce
Update package dependencies
...
Closes #345
Also fixes a resulting test failure with the HTML parse node
2014-09-17 23:49:28 +01:00
zobalogh
4706b814dd
Adding drop check to Delay tests
2014-09-08 14:26:35 +01:00
Nick O'Leary
c91a3f3f78
Delay node drop immediate not working
...
Fixes #381
2014-09-05 16:04:35 +01:00
Nick O'Leary
0138eb3f5f
Merge pull request #343 from zobalogh/range-tests
...
Adding range tests
2014-09-01 10:23:55 +01:00
Nick O'Leary
9876570189
Merge delay node test
...
Fixes #346
Closes #347
2014-09-01 10:22:29 +01:00
Nick O'Leary
8febfbe329
Disable tail truncated test until it behaves on Travis
2014-08-28 00:22:12 +01:00
Nick O'Leary
bac288fa52
Add more delays to tail node test
2014-08-28 00:14:25 +01:00
Nick O'Leary
691ef12e04
Add more tail node tests
...
- add 'file doesn't exist initially' text
- remove resource file as it is programmatically modified by the test
- tweak test checking in truncated file test
2014-08-27 23:29:26 +01:00
Dave C-J
2d92b44f52
Tidy up tail node tests
2014-08-27 10:41:25 +01:00
Dave C-J
6b04d512ae
add consistent timeouts to tail file write tests
2014-08-27 10:08:44 +01:00
Dave C-J
df751be331
Make all tail node test writres are sync
2014-08-27 09:51:30 +01:00
Dave C-J
ecbf4add6b
Modify Tail node to only send new messages
...
Now with test that works with it.
Part of Issue #326
Now need to redo with libs that support windows.
2014-08-22 12:44:55 +01:00
zobalogh
3823150e46
Adding range node tests
2014-08-19 11:45:17 +01:00
Nick O'Leary
3c31ef4643
Merge pull request #336 from zobalogh/switch-test
...
Adding Switch Node tests
2014-08-18 11:15:04 +01:00
zobalogh
89825dae04
Adding Change Node tests
2014-08-15 12:19:07 +01:00
zobalogh
ce4d44ea48
Adding Switch Node tests
2014-08-14 11:27:21 +01:00
Nick O'Leary
43ad8706aa
Update tail node tests to use resource file
2014-08-07 14:55:34 +01:00
Nick O'Leary
15494dda84
Merge pull request #332 from zobalogh/tail-done-fix
...
Fixing test termination
2014-08-07 13:34:46 +01:00
Nick O'Leary
c6a98da256
Merge pull request #331 from hbeeken/issue-326
...
Proposed fix for Issue #326
2014-08-07 13:33:57 +01:00
zobalogh
ea22ffa2bf
Fixing test termination
2014-08-07 13:23:20 +01:00
hbeeken
fadd2167f5
Closing file handles to fix test failures on windows
2014-08-07 12:03:03 +01:00
hbeeken
82fb15896c
Tests for HTML node
2014-08-06 11:34:30 +01:00
hbeeken
118c50ce8e
Fixing tests by clearing out the node registry between tests.
2014-08-04 10:59:08 +01:00
hbeeken
8eb8ac0f88
Adding tests for XML parser node
2014-08-04 10:56:49 +01:00
Nick O'Leary
79e9641c09
Big rework of registry.js
...
Part of #322
Loads node.html files before node.js files
Adds helper.unload which must be called by node tests
to clear the registery of nodes
2014-08-01 22:05:49 +01:00
zobalogh
716d0c1135
Adding tail node tests
2014-08-01 16:22:02 +01:00
hbeeken
e179753853
Error path tests for 70-JSON.js
2014-07-31 11:02:55 +01:00
hbeeken
80676da300
Adding test for JSON node
2014-07-31 11:02:43 +01:00
Mark Hindess
53d9eab94e
Add more tests for function node.
2014-07-30 09:32:17 +01:00
Mark Hindess
74ae2eca3e
Start adding tests for nodes.
2014-07-29 12:59:42 +01:00