J2V8
J2V8 copied to clipboard
Testing real behavior of node by running sample http server application.
The existing NodeJSTest is a bit trivial, testing just export and access to global object. Here is a test that is more node.js-like.
The test executes sample node.js hello world application - e.g. an HTTP server. Then it connects to it and verifies it really runs properly. The test is started on a free port to avoid conflicts with any local configuration.