Markus Mäkelä
73401837fd
Skip interactive mode in tests
...
The automated tests aren't currently suited for testing it.
2018-08-22 16:43:17 +03:00
Markus Mäkelä
57471c7baa
Improve MaxCtrl test coverage
...
A few missing cases that simple to solve were reported by the coverage
tool.
2018-08-13 10:28:03 +03:00
Markus Mäkelä
80569dd5a9
MXS-1300: Correct test case descriptions
...
The test descriptions now describe the expected logical outcome of the
test, not the operation being done.
2017-08-09 11:39:25 +03:00
Markus Mäkelä
9a04dd0311
MXS-1300: Resolved the promise for help
commands
...
The promise returned by the `execute` MaxCtrl library function is now
properly resolved also for `help` type commands.
2017-08-09 11:39:24 +03:00
Markus Mäkelä
ba5a321ec3
MXS-1300: Improve overall error handling
...
All errors are now returned as rejected Promises. This will make the error
reporting more consistent with the tested output as well as the actual
output.
Added more tests for error cases and fixed minor argument processing bugs.
2017-07-23 08:21:00 +03:00
Markus Mäkelä
c9f3d014d6
MXS-1300: Improve test coverage
...
The tests now cover 100% of all source files with the exception of the
call.js and common.js source files.
2017-07-23 08:21:00 +03:00