pelikan icon indicating copy to clipboard operation
pelikan copied to clipboard

Change how integration test harness ingest test cases

Open thinkingfish opened this issue 7 years ago • 1 comments

Currently we need blank lines to separate individual commands inside the same test sequence, and executes each command following the req-rsp-stat order.

It would be more flexible to allow a single stream of mixed req-rsp-stat lines, with empty lines being optional and for visual separation only. For example, we can check stats after sending half of a command and before receiving any responses. This requires changing how tests are loaded, and how the harness executes individual lines.

Because any tests that work with the existing harness will work in the improved version, we can continue to add more test sequences at the meantime.

thinkingfish avatar Mar 03 '17 13:03 thinkingfish

changes are presented in PR #145

thinkingfish avatar Mar 03 '17 13:03 thinkingfish