diff options
-rw-r--r-- | test/README | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/README b/test/README new file mode 100644 index 0000000..2502e20 --- /dev/null +++ b/test/README | |||
@@ -0,0 +1,23 @@ | |||
1 | This provides the automated test scripts used to make sure the library | ||
2 | is working properly. | ||
3 | |||
4 | The files provided are: | ||
5 | |||
6 | testsrvr.lua -- test server | ||
7 | testclnt.lua -- test client | ||
8 | testcmd.lua -- test command definitions | ||
9 | |||
10 | To run the automatic tests on your system, make sure to compile the | ||
11 | library with _DEBUG defined (check makefile) and then open two | ||
12 | terminals. Run 'luasocket testsrvr.lua' on one of them and 'luasocket | ||
13 | testclnt.lua' on the other. The programs should start talking to each | ||
14 | other and report any failure. The tests can also be used as a benchmark. | ||
15 | |||
16 | urltest.lua -- url.lua test module | ||
17 | codetest.lua -- code.lua test module | ||
18 | concattest.lua -- concat.lua test module | ||
19 | |||
20 | To run these tests, just run luasocket on them and see the results. | ||
21 | |||
22 | Good luck, | ||
23 | Diego. | ||