Commit Graph

20 Commits

Author SHA1 Message Date
Edward Hennis
a5df3f1747 Support a "no_server" flag in test config.
* Will use a running instance of rippled (possibly in a debugger).
* Modify all tests to respect the server_default value.
* Fail test if new account already exists and has a balance.
* README.md with instructions for advanced test debugging, particularly using no_server.
2014-12-31 01:55:10 -08:00
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
wltsmrz
0848e348bb Update ripple-lib integration tests 2014-06-28 13:17:31 -07:00
Nicholas Dudfield
da3881a486 Make websocket-test the first test, and give custom timeouts of 1000ms 2014-01-05 13:40:47 +07:00
Nicholas Dudfield
aabd6980ac Fix a bug in websocket-test.js referencing done() not declared in test() function signature, was causing failure of subsequent test suite, due to mocha's enveloped exception handling style 2013-10-24 19:03:03 -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
ccde264282 JS Tests: Fallback to config-example if config is not present. 2013-07-27 19:48:17 -07:00
Stefan Thomas
0a2e7664b8 JS: Remove ripple-lib and link to it via package.json instead. 2013-04-26 22:02:36 +02:00
Stefan Thomas
39ba2613d9 JS: Added ripple.config.load convenience function. 2013-02-02 14:05:49 +01:00
Stefan Thomas
24dac24d29 Refactor JavaScript library.
- Separate classes in separate modules (files)
- Constants should be associated with a class
- Replace exports.config scheme with a config singleton
- Refactor base58 functions as a static class
2013-02-01 22:44:04 +01:00
Arthur Britto
49e6ca70ba JS & UT: add et to vim setting. 2012-11-24 14:07:41 -08:00
jed
85a46a597c . 2012-11-14 18:46:10 -08:00
Arthur Britto
8d89fb256d UT: Work toward dumping an account's history. 2012-11-10 16:16:05 -08:00
Arthur Britto
b271192547 Rework config.js to not be add to web pack. 2012-11-07 16:03:39 -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
edf47a7a07 JS: Automatically maintain connection. 2012-10-17 13:26:31 -07:00
Arthur Britto
5fc3d98ef5 UT: Clean up and faster tearDown. 2012-10-14 01:33:00 -07:00
Arthur Britto
085ff2af22 UT: Split up tests. 2012-10-13 19:42:28 -07:00