Testharness report for Codedoc/Procsrc.
This is the unit test report for Codedoc/Procsrc, which produces integrity checks and output for debugging Codedoc/Procsrc.
| Test suite status | |
|---|---|
| Scribunto test cases | |
| Code coverage |
Unit test report for Codedoc/Procsrc.
- Test members missing:
get_header•process - Test cases failing: none
- Execution time: 0.2ms
Scribunto test cases
| ||||
|---|---|---|---|---|
| Status | Code | Expected | Actual | Differs at |
ProcLua:get_functions("--% Build function commentary structure from text\n--@ test(string) program code\n--: (table) function structure\nfunction testfunction (test)\n return {}\nend") | { { name = "testfunction", parameters = { { name = "test", purpose = "program code.", type = "string" } }, purpose = "Build function commentary structure from text.", returns = { { purpose = "function structure.", type = "table" } } } } | { { name = "testfunction", parameters = { { name = "test", purpose = "program code.", type = "string" } }, purpose = "Build function commentary structure from text.", returns = { { purpose = "function structure.", type = "table" } } } } | ||
ProcLua:get_functions("--% Build function commentary structure from text\n--@ test(string) program code\n--: (table) function structure\nfunction _testfunction (test)\n return {}\nend") | { { name = "_testfunction", parameters = { { name = "test", purpose = "program code.", type = "string" } }, purpose = "Build function commentary structure from text.", returns = { { purpose = "function structure.", type = "table" } } } } | { { name = "_testfunction", parameters = { { name = "test", purpose = "program code.", type = "string" } }, purpose = "Build function commentary structure from text.", returns = { { purpose = "function structure.", type = "table" } } } } | ||
| ||||
|---|---|---|---|---|
| Status | Code | Expected | Actual | Differs at |
ProcLua:scan_lines("--% Build function commentary structure from text\n--@ test(string) program code\n--: (table) function structure\nfunction testfunction (test)\n return {}\nend", "%%@:Tb-", "^%s*(f)unction%s+([%w:._]*)") | { { "%", "Build function commentary structure from text" }, { "@", "test(string) program code" }, { ":", "(table) function structure" }, { "f", "testfunction" }, n = 0} | { { "%", "Build function commentary structure from text" }, { "@", "test(string) program code" }, { ":", "(table) function structure" }, { "f", "testfunction" }, n = 0} | ||