Francis Gulotta
|
c3c2e4fe34
|
actually initialize the serialport without mocks in tests
|
2014-01-23 20:13:15 -05:00 |
|
Francis Gulotta
|
6ddd7ecfe1
|
Merge pull request #277 from voodootikigod/move-parsers
Move parsers to their own file because they don't rely on anything else.
|
2013-12-26 21:12:55 -08:00 |
|
Francis Gulotta
|
a7b22dffeb
|
Merge pull request #279 from voodootikigod/optionalfunctions
don't set options on a callback open function
|
2013-12-17 13:17:10 -08:00 |
|
Francis Gulotta
|
c796fe7dce
|
don't set options on a callback open function
|
2013-12-14 19:54:32 -05:00 |
|
Francis Gulotta
|
4f19804d24
|
Added some basic close event tests - removed some code around read streams that isn't used anymore
|
2013-12-14 16:54:34 -05:00 |
|
Francis Gulotta
|
712914c9ba
|
Move parsers to their own file because they don't rely on anything else.
|
2013-12-14 16:38:01 -05:00 |
|
Francis Gulotta
|
dd642c95d4
|
Add a JS disconnect test and mock hardware disconnect command.
|
2013-12-12 09:27:24 -05:00 |
|
Francis Gulotta
|
1b831f079f
|
Add some basic read tests
|
2013-11-12 15:37:32 -05:00 |
|
Francis Gulotta
|
c9495a713c
|
Move the read test into serialport-basic. Make use of sinon sandboxes, refactor the mock serial-port-binding into linux hardware for "remote control"
|
2013-11-12 13:54:34 -05:00 |
|
Adriano Raiano
|
e07ec47312
|
Rename read to read.js
|
2013-10-31 18:28:10 +01:00 |
|
Adriano Raiano
|
17a2634bb4
|
added read tests
|
2013-10-30 15:37:06 +01:00 |
|
Francis Gulotta
|
d589347550
|
Fix spelling and whitespace
|
2013-10-29 15:57:20 -04:00 |
|
Francis Gulotta
|
86f5ffd9f0
|
Add a mock for SerialPortBinding and modify the tests to use it. This includes examples of mocking functions to simulate failures, spying on method calls to ensure they were called and the expects flavor of mocha assertions.
Also splits parsers into their own file.
|
2013-10-29 00:05:39 -04:00 |
|
Jay Beavers
|
a5d0bc6eac
|
complete removal of options.errorCallback, remove tabs, assert comments
|
2013-10-28 09:53:04 -07:00 |
|
Jay Beavers
|
34bf27ef61
|
Fix error event test to remove duplicate done calls
|
2013-10-25 15:17:55 -07:00 |
|
Jay Beavers
|
a7c04bf43a
|
Merge branch 'master' of github.com:voodootikigod/node-serialport into travis
Conflicts:
.travis.yml
serialport.js
test/basic.js
|
2013-10-25 15:12:39 -07:00 |
|
Jay Beavers
|
6e831dea1a
|
Working on sinon incompatibility with travis
|
2013-10-25 14:56:34 -07:00 |
|
Jay Beavers
|
7f73eb0fba
|
Add grunt for jshint and appropriate unit testing for travis
|
2013-10-25 14:43:40 -07:00 |
|
Jay Beavers
|
e5fba8ac88
|
Added SerialPortFactory with on('error')
|
2013-10-25 11:35:16 -07:00 |
|
Jay Beavers
|
ddba26544f
|
Clean up unit tests, add echo test
|
2013-10-25 10:13:16 -07:00 |
|
Chris Williams
|
93c2c86a70
|
Removed defunct test directory and requirement on specific baud rates.
|
2013-08-13 10:02:05 -04:00 |
|
Jay Beavers
|
39e559fc11
|
Add fifo queue support to serialportWrite, fix test to detect arduinos under Linux
|
2012-09-03 17:15:52 -07:00 |
|
Jay Beavers
|
d3701cf083
|
Rollover fix in Echo test
|
2012-08-28 16:41:03 -07:00 |
|
Jay Beavers
|
510f7753ac
|
Adding detection string for Arduino under Linux
|
2012-08-28 16:16:35 -07:00 |
|
Jay Beavers
|
7dd6413e0e
|
Add repro test case for Windows out of order
|
2012-08-28 15:41:08 -07:00 |
|