Commit Graph

36 Commits

Author SHA1 Message Date
Edward Hennis
6fc136ae9a Update npm tests & config to pass in Windows. (RIPD-209)
* Extend timeout for WebSocket test.
* Windows networking doesn't like connecting to 0.0.0.0. Use 127.0.0.1
* Additional command line options in config. Can potentially be used to run rippled in a debugger.
2014-08-22 18:10:17 -04:00
Nicholas Dudfield
e14c700c60 New integration tests:
* New tests for autobridging and freeze
* Discrepancy detection tests
* Don't let Mocha suppress load time errors
2014-06-28 18:27:33 -07:00
Vinnie Falco
d0970397a6 Revert system test changes:
* Revert "Shutdown rippled before http server in json rpc test to avoid http server potentially receiving messages due to automatic ledger close interval."
* Revert "Update ripple-lib integration tests"

This reverts commit 83442825e5.
2014-02-04 15:18:36 -08:00
wltsmrz
6c5f88aa25 Update ripple-lib integration tests 2014-02-03 10:42:34 -08:00
Nicholas Dudfield
ff12d9adaa Run server-test and websocket-test first. Show stderr upon abnormal rippled exit 2014-01-05 13:09:42 +07:00
wltsmrz
c76e2b54a9 Update system tests for mocha and new ripple-lib transaction submission 2013-09-24 14:12:18 -07:00
Stefan Thomas
3d6215fd1e JS Tests: Refactored config handling.
Still far from perfect, but better than it was.
2013-07-27 20:18:59 -07:00
Stefan Thomas
e627daa410 JS: Use correct inheritance for Server class. Fixes test suite in Node 0.10.x. 2013-05-13 11:32:23 +02:00
Stefan Thomas
0a2e7664b8 JS: Remove ripple-lib and link to it via package.json instead. 2013-04-26 22:02:36 +02:00
Arthur Britto
7887ca1b05 UT: Fix server stopping. 2013-03-23 19:02:04 -07:00
Arthur Britto
e44fa621e4 UT: Throw if nodejs version is less than 0.8.18. 2013-02-07 18:39:33 -08:00
Arthur Britto
8c5f08ad9b UT: More work on detecting standalone server exit. 2013-01-12 12:48:18 -08:00
Stefan Thomas
14b63f7407 Tests: Print an error when timing out due to server crash. 2013-01-10 15:57:20 +01:00
Arthur Britto
37c073a79b UT: Fix reporting of errors on server exit. 2012-12-20 22:06:16 -08:00
Jcar
099ffbddc0 Further testing 2012-12-20 15:55:57 -08:00
Jcar
aebfa168e6 test/server.js asserts on exit that stop() has been called (to detect improper exit) 2012-12-20 15:55:57 -08:00
Arthur Britto
49e6ca70ba JS & UT: add et to vim setting. 2012-11-24 14:07:41 -08:00
Arthur Britto
96dfb90c59 UT: Path fixes for windows. 2012-11-15 11:30:47 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00
Arthur Britto
27ea314f8d UT: Rework server.js and clean up test output. 2012-10-20 17:04:33 -07:00
Arthur Britto
56a7e48cd9 UT: Allow tests to use existing server. 2012-10-16 20:32:40 -07:00
Arthur Britto
5fc3d98ef5 UT: Clean up and faster tearDown. 2012-10-14 01:33:00 -07:00
Arthur Britto
2af15db40a Rename everything from newcoin to ripple except the protocol buffers. 2012-10-12 15:48:33 -07:00
Arthur Britto
0509d5af37 JS: Split node utils into their own file. 2012-10-11 16:19:24 -07:00
Arthur Britto
d4db971fdd UT: Add test for send_xns. 2012-10-07 00:19:45 -07:00
Arthur Britto
3cd9068793 Clean up js. 2012-09-28 12:44:39 -07:00
Arthur Britto
723897c449 Merge branch 'master' into ut
Conflicts:
	js/utils.js
	test/server.js
2012-09-28 12:34:27 -07:00
Arthur Britto
dfd55c1563 UT: Add timeout to WS connecting. 2012-09-25 18:31:56 -07:00
Arthur Britto
169f0f487a UT: Rework server module to provide an object. 2012-09-21 14:37:16 -07:00
Arthur Britto
908d797e7a UT start adding WS support. 2012-09-18 15:43:58 -07:00
Arthur Britto
333da36c19 UT: Set the cwd for the servers. 2012-09-17 15:45:44 -07:00
Arthur Britto
6847aaace5 Have UT start and stop a server. 2012-09-17 15:35:07 -07:00
Arthur Britto
d0d8fb4195 Make UT mkPath take strings as mode. 2012-09-17 12:34:35 -07:00
Arthur Britto
86700c30bb Build testing newcoind.cfg as needed. 2012-09-17 12:28:18 -07:00
Arthur Britto
f45886cc6d Cosmetic (tabbing). 2012-09-15 14:56:15 -07:00
Arthur Britto
b8f2b6c0dc Initial check in of testing scripts. 2012-09-15 14:37:21 -07:00