References
This module allows to redirect the test output (stdout
/stderr
)
to a socket.
This feature is useful for embedded development where the test runs into a target but the output is consumed by a host.
The use with the Corona SDK is described in this blog.
This module requires LuaSocket.
Examples
require 'Test.More' require 'socket' local conn = socket.connect(host, port) require 'Test.Builder.SocketOutput'.init(conn) -- now, as usual plan(...) ...